This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug exp/13907] New: RFE: Resolve static pointers in pretty printer
- From: "avi at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 27 Mar 2012 13:38:11 +0000
- Subject: [Bug exp/13907] New: RFE: Resolve static pointers in pretty printer
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13907
Bug #: 13907
Summary: RFE: Resolve static pointers in pretty printer
Product: gdb
Version: 7.3
Status: NEW
Severity: normal
Priority: P2
Component: exp
AssignedTo: unassigned@sourceware.org
ReportedBy: avi@redhat.com
Classification: Unclassified
When gdb prints out a function pointer, it looks it up in the symbol table and
prints the function name:
$5 = {read = 0x55555567f85f <pic_ioport_read>, ...
However, it doesn't do the same for data pointers:
$3 = {ops = 0x555555b6ba60, ...
(gdb) p &pic_base_ioport_ops
$6 = (const MemoryRegionOps *) 0x555555b6ba60
It would be nice if $3 read as
$3 = {ops = 0x555555b6ba60 <&pic_base_ioport_ops>, ...
--
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.