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: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 08 Aug 2013 09:52:37 +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
Pedro Alves <palves at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |palves at redhat dot com
--- Comment #5 from Pedro Alves <palves at redhat dot com> ---
Or:
(gdb) p Val1+0
Which I find even easier to type, as what I actually usually do is:
(gdb) p Val1
$1 = Val1
<up>+0<enter>
$2 = 0
--
You are receiving this mail because:
You are on the CC list for the bug.