This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/11067] p <enum constant> should print the constant's value
- From: "schwab at linux-m68k dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 08 Aug 2013 20:57:29 +0000
- Subject: [Bug gdb/11067] p <enum constant> should print the constant's value
- Auto-submitted: auto-generated
- References: <bug-11067-4717 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=11067
--- Comment #6 from Andreas Schwab <schwab@linux-m68k.org> ---
Or use the fact that the expression defaults to $.
(gdb) p Val1
$1 = Val1
(gdb) p/d
$2 = 0
--
You are receiving this mail because:
You are on the CC list for the bug.