public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tui/13073] New: TUI doesn't display registers in layout reg
@ 2011-08-10 15:44 wmealing at gmail dot com
2011-08-10 16:29 ` [Bug tui/13073] " pedro at codesourcery dot com
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: wmealing at gmail dot com @ 2011-08-10 15:44 UTC (permalink / raw)
To: gdb-prs
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tui/13073] TUI doesn't display registers in layout reg
2011-08-10 15:44 [Bug tui/13073] New: TUI doesn't display registers in layout reg wmealing at gmail dot com
@ 2011-08-10 16:29 ` pedro at codesourcery dot com
2011-08-10 18:30 ` pedro at codesourcery dot com
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pedro at codesourcery dot com @ 2011-08-10 16:29 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13073
Pedro Alves <pedro at codesourcery dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at sourceware |pedro at codesourcery dot
|dot org |com
--- Comment #1 from Pedro Alves <pedro at codesourcery dot com> 2011-08-10 16:28:05 UTC ---
Created attachment 5893
--> http://sourceware.org/bugzilla/attachment.cgi?id=5893
fix
--
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tui/13073] TUI doesn't display registers in layout reg
2011-08-10 15:44 [Bug tui/13073] New: TUI doesn't display registers in layout reg wmealing at gmail dot com
2011-08-10 16:29 ` [Bug tui/13073] " pedro at codesourcery dot com
@ 2011-08-10 18:30 ` pedro at codesourcery dot com
2011-08-10 19:31 ` pedro at codesourcery dot com
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pedro at codesourcery dot com @ 2011-08-10 18:30 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13073
Pedro Alves <pedro at codesourcery dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
--- Comment #2 from Pedro Alves <pedro at codesourcery dot com> 2011-08-10 16:28:45 UTC ---
Please try the patch I just attached and let me know how it goes.
--
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tui/13073] TUI doesn't display registers in layout reg
2011-08-10 15:44 [Bug tui/13073] New: TUI doesn't display registers in layout reg wmealing at gmail dot com
2011-08-10 16:29 ` [Bug tui/13073] " pedro at codesourcery dot com
2011-08-10 18:30 ` pedro at codesourcery dot com
@ 2011-08-10 19:31 ` pedro at codesourcery dot com
2011-08-11 16:50 ` wmealing at gmail dot com
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pedro at codesourcery dot com @ 2011-08-10 19:31 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13073
Pedro Alves <pedro at codesourcery dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #5893|0 |1
is obsolete| |
--- Comment #3 from Pedro Alves <pedro at codesourcery dot com> 2011-08-10 18:29:55 UTC ---
Created attachment 5894
--> http://sourceware.org/bugzilla/attachment.cgi?id=5894
fix-2
That wasn't enough. There were other places with the same problem.
Here's a hopefully complete fix.
--
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tui/13073] TUI doesn't display registers in layout reg
2011-08-10 15:44 [Bug tui/13073] New: TUI doesn't display registers in layout reg wmealing at gmail dot com
` (2 preceding siblings ...)
2011-08-10 19:31 ` pedro at codesourcery dot com
@ 2011-08-11 16:50 ` wmealing at gmail dot com
2011-08-12 17:06 ` cvs-commit at gcc dot gnu.org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: wmealing at gmail dot com @ 2011-08-11 16:50 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13073
--- Comment #4 from wmealing at gmail dot com 2011-08-11 16:44:34 UTC ---
I can confirm that this fixes the problem mentioned.
--
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tui/13073] TUI doesn't display registers in layout reg
2011-08-10 15:44 [Bug tui/13073] New: TUI doesn't display registers in layout reg wmealing at gmail dot com
` (3 preceding siblings ...)
2011-08-11 16:50 ` wmealing at gmail dot com
@ 2011-08-12 17:06 ` cvs-commit at gcc dot gnu.org
2011-08-12 17:19 ` cvs-commit at gcc dot gnu.org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2011-08-12 17:06 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13073
--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-08-12 17:04:36 UTC ---
CVSROOT: /cvs/src
Module name: src
Changes by: palves@sourceware.org 2011-08-12 17:04:32
Modified files:
gdb : ChangeLog
gdb/tui : tui-regs.c
Log message:
2011-08-12 Pedro Alves <pedro@codesourcery.com>
PR tui/13073
gdb/
* tui/tui-regs.c (tui_show_register_group): Skip registers with an
empty name.
(tui_show_register_group): Don't store a byte buffer in the data
element's value.
(tui_register_format): Skip registers with an empty name.
(tui_get_register): Store a struct value in the data element's
value field instead of a byte buffer holding the raw register
contents. Account for optimized-out and unavailable registers
when comparing register contents.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13264&r2=1.13265
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/tui/tui-regs.c.diff?cvsroot=src&r1=1.44&r2=1.45
--
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tui/13073] TUI doesn't display registers in layout reg
2011-08-10 15:44 [Bug tui/13073] New: TUI doesn't display registers in layout reg wmealing at gmail dot com
` (4 preceding siblings ...)
2011-08-12 17:06 ` cvs-commit at gcc dot gnu.org
@ 2011-08-12 17:19 ` cvs-commit at gcc dot gnu.org
2011-08-12 17:41 ` pedro at codesourcery dot com
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2011-08-12 17:19 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13073
--- Comment #6 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-08-12 17:06:29 UTC ---
CVSROOT: /cvs/src
Module name: src
Branch: gdb_7_3-branch
Changes by: palves@sourceware.org 2011-08-12 17:06:26
Modified files:
gdb : ChangeLog
gdb/tui : tui-regs.c
Log message:
2011-08-12 Pedro Alves <pedro@codesourcery.com>
PR tui/13073
* tui/tui-regs.c (tui_show_register_group): Skip registers with an
empty name.
(tui_show_register_group): Don't store a byte buffer in the data
element's value.
(tui_register_format): Skip registers with an empty name.
(tui_get_register): Store a struct value in the data element's
value field instead of a byte buffer holding the raw register
contents. Account for optimized-out and unavailable registers
when comparing register contents.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_7_3-branch&r1=1.12887.2.66&r2=1.12887.2.67
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/tui/tui-regs.c.diff?cvsroot=src&only_with_tag=gdb_7_3-branch&r1=1.44&r2=1.44.2.1
--
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tui/13073] TUI doesn't display registers in layout reg
2011-08-10 15:44 [Bug tui/13073] New: TUI doesn't display registers in layout reg wmealing at gmail dot com
` (5 preceding siblings ...)
2011-08-12 17:19 ` cvs-commit at gcc dot gnu.org
@ 2011-08-12 17:41 ` pedro at codesourcery dot com
2011-08-13 16:47 ` pedro at codesourcery dot com
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pedro at codesourcery dot com @ 2011-08-12 17:41 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13073
Pedro Alves <pedro at codesourcery dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
--- Comment #7 from Pedro Alves <pedro at codesourcery dot com> 2011-08-12 17:18:48 UTC ---
Thanks. Fix applied on mainline and on the 7.3 branch.
--
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tui/13073] TUI doesn't display registers in layout reg
2011-08-10 15:44 [Bug tui/13073] New: TUI doesn't display registers in layout reg wmealing at gmail dot com
` (6 preceding siblings ...)
2011-08-12 17:41 ` pedro at codesourcery dot com
@ 2011-08-13 16:47 ` pedro at codesourcery dot com
2011-10-26 20:22 ` tristanmoody at gmail dot com
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pedro at codesourcery dot com @ 2011-08-13 16:47 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13073
Pedro Alves <pedro at codesourcery dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|unknown |7.3
Target Milestone|--- |7.4
--
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tui/13073] TUI doesn't display registers in layout reg
2011-08-10 15:44 [Bug tui/13073] New: TUI doesn't display registers in layout reg wmealing at gmail dot com
` (7 preceding siblings ...)
2011-08-13 16:47 ` pedro at codesourcery dot com
@ 2011-10-26 20:22 ` tristanmoody at gmail dot com
2014-02-16 18:27 ` jackie.rosen at hushmail dot com
2014-05-28 19:45 ` schwab at sourceware dot org
10 siblings, 0 replies; 12+ messages in thread
From: tristanmoody at gmail dot com @ 2011-10-26 20:22 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13073
Tristan Moody <tristanmoody at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tristanmoody at gmail dot
| |com
--- Comment #8 from Tristan Moody <tristanmoody at gmail dot com> 2011-10-26 20:21:41 UTC ---
*** Bug 13340 has been marked as a duplicate of this bug. ***
--
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tui/13073] TUI doesn't display registers in layout reg
2011-08-10 15:44 [Bug tui/13073] New: TUI doesn't display registers in layout reg wmealing at gmail dot com
` (8 preceding siblings ...)
2011-10-26 20:22 ` tristanmoody at gmail dot com
@ 2014-02-16 18:27 ` jackie.rosen at hushmail dot com
2014-05-28 19:45 ` schwab at sourceware dot org
10 siblings, 0 replies; 12+ messages in thread
From: jackie.rosen at hushmail dot com @ 2014-02-16 18:27 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=13073
Jackie Rosen <jackie.rosen at hushmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jackie.rosen at hushmail dot com
--- Comment #9 from Jackie Rosen <jackie.rosen at hushmail dot com> ---
*** Bug 260998 has been marked as a duplicate of this bug. ***
Seen from the domain http://volichat.com
Page where seen: http://volichat.com/adult-chat-rooms
Marked for reference. Resolved as fixed @bugzilla.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tui/13073] TUI doesn't display registers in layout reg
2011-08-10 15:44 [Bug tui/13073] New: TUI doesn't display registers in layout reg wmealing at gmail dot com
` (9 preceding siblings ...)
2014-02-16 18:27 ` jackie.rosen at hushmail dot com
@ 2014-05-28 19:45 ` schwab at sourceware dot org
10 siblings, 0 replies; 12+ messages in thread
From: schwab at sourceware dot org @ 2014-05-28 19:45 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=13073
Andreas Schwab <schwab at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|jackie.rosen at hushmail dot com |
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2014-05-28 19:45 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-10 15:44 [Bug tui/13073] New: TUI doesn't display registers in layout reg wmealing at gmail dot com
2011-08-10 16:29 ` [Bug tui/13073] " pedro at codesourcery dot com
2011-08-10 18:30 ` pedro at codesourcery dot com
2011-08-10 19:31 ` pedro at codesourcery dot com
2011-08-11 16:50 ` wmealing at gmail dot com
2011-08-12 17:06 ` cvs-commit at gcc dot gnu.org
2011-08-12 17:19 ` cvs-commit at gcc dot gnu.org
2011-08-12 17:41 ` pedro at codesourcery dot com
2011-08-13 16:47 ` pedro at codesourcery dot com
2011-10-26 20:22 ` tristanmoody at gmail dot com
2014-02-16 18:27 ` jackie.rosen at hushmail dot com
2014-05-28 19:45 ` schwab at sourceware dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).