This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug symtab/13590] New: always display addresses in "info var"output
- From: "dje at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 11 Jan 2012 20:33:20 +0000
- Subject: [Bug symtab/13590] New: always display addresses in "info var"output
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13590
Bug #: 13590
Summary: always display addresses in "info var" output
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: symtab
AssignedTo: unassigned@sourceware.org
ReportedBy: dje@google.com
Classification: Unclassified
"info var foo" doesn't always display the variable's address.
IWBN if it did.
foo.c:
struct foo
{
int x;
};
struct foo bar;
int
main ()
{
return 0;
}
With debug info:
(gdb) info var bar
All variables matching regular expression "bar":
File 4902939.c:
struct foo bar;
Without debug info:
(gdb) info var bar
All variables matching regular expression "bar":
Non-debugging symbols:
0x00000000004019c8 bar
[I realize why it currently works this way.
The point is to print the address.]
--
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.