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 cli/19294] New: ptype output for enum is not prettified


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.

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