This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug cli/19294] New: ptype output for enum is not prettified
- From: "tromey at sourceware dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 25 Nov 2015 16:14:58 +0000
- Subject: [Bug cli/19294] New: ptype output for enum is not prettified
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=19294
Bug ID: 19294
Summary: ptype output for enum is not prettified
Product: gdb
Version: unknown
Status: NEW
Severity: normal
Priority: P2
Component: cli
Assignee: unassigned at sourceware dot org
Reporter: tromey at sourceware dot org
Target Milestone: ---
I did "ptype" of an enum type.
I was hoping this would (a) respect "set print pretty on"
and (b) show me the values of the constants.
It did neither:
(gdb) ptype js::jit::FrameType
type = enum js::jit::FrameType : unsigned int {js::jit::JitFrame_IonJS,
js::jit::JitFrame_BaselineJS, js::jit::JitFrame_BaselineStub,
js::jit::JitFrame_IonStub, js::jit::JitFrame_Entry,
js::jit::JitFrame_Rectifier, js::jit::JitFrame_IonAccessorIC,
js::jit::JitFrame_Unwound_BaselineJS, js::jit::JitFrame_Unwound_IonJS,
js::jit::JitFrame_Unwound_BaselineStub, js::jit::JitFrame_Unwound_IonStub,
js::jit::JitFrame_Unwound_Rectifier,
js::jit::JitFrame_Unwound_IonAccessorIC, js::jit::JitFrame_Exit,
js::jit::JitFrame_Bailout, js::jit::JitFrame_LazyLink}
--
You are receiving this mail because:
You are on the CC list for the bug.