This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug symtab/13590] always display addresses in "info var" output
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 09 Aug 2017 10:44:13 +0000
- Subject: [Bug symtab/13590] always display addresses in "info var" output
- Auto-submitted: auto-generated
- References: <bug-13590-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=13590
Pedro Alves <palves at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |palves at redhat dot com
--- Comment #3 from Pedro Alves <palves at redhat dot com> ---
> (gdb) p &foo.c::foo <<< is there a syntax for that?
> A syntax error in expression, near `::foo'.
yes there is, it's:
(gdb) p 'foo.c'::foo
$1 = 0
"watch 'foo.c'::foo", "disassemble 'foo.c'::function" etc. works too.
Basically, everywhere gdb accepts an expression.
--
You are receiving this mail because:
You are on the CC list for the bug.