This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug tui/13073] New: TUI doesn't display registers in layout reg
- From: "wmealing at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 10 Aug 2011 15:43:43 +0000
- Subject: [Bug tui/13073] New: TUI doesn't display registers in layout reg
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13073
Bug #: 13073
Summary: TUI doesn't display registers in layout reg
Product: gdb
Version: unknown
Status: NEW
Severity: normal
Priority: P2
Component: tui
AssignedTo: unassigned@sourceware.org
ReportedBy: wmealing@gmail.com
Classification: Unclassified
Created attachment 5891
--> http://sourceware.org/bugzilla/attachment.cgi?id=5891
Rubbish code i was messing with.
As the subject says, it doesn't look like the registers are showing on this
system.
Dual core system:
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
stepping : 11
Compiled with:
# gcc -O0 -S -g -m32 -nostdlib binsearch.s -o binsearch
# gdb binsearch
GNU gdb (GDB) Fedora (7.3-41.fc15)
<snip>
(gdb) layout regs
(gdb) break 1
Breakpoint 1 at 0x4000b0: file binsearch.s, line 1.
(gdb) run
Starting program: /home/wmealing/Documents/workspace/asm/binsearch
Register 57 is not available
Register 57 is not available
(gdb) i r
rax 0x0 0
rbx 0x0 0
rcx 0x0 0
rdx 0x0 0
rsi 0x0 0
rdi 0x0 0
rbp 0x0 0x0
rsp 0x7fffffffe1a0 0x7fffffffe1a0
r8 0x0 0
r9 0x0 0
r10 0x0 0
r11 0x200 512
r12 0x0 0
r13 0x0 0
etc.. etc
Interestingly it also gives
"Warning: the current language does not match this frame"
I expected registers to appear as i step through the assembly code.
gdb-7.3-41.fc15.x86_64
glibc-common-2.14-4.x86_64
glibc-2.14-4.i686
glibc-2.14-4.x86_64
I'm going to attach the simple , unfinished code that i was playing around in.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.