This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/11067] p <enum constant> should print the constant's value


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]