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

--- Comment #4 from Kamaraju Kusumanchi <kamaraju at gmail dot com> ---
You can also use "p /d" as a work around. It is less typing than "p (int)"

(gdb) p /d Val1
$4 = 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]