This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/13281] New: provide simple pretty-printer for enum
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 11 Oct 2011 20:23:30 +0000
- Subject: [Bug python/13281] New: provide simple pretty-printer for enum
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13281
Bug #: 13281
Summary: provide simple pretty-printer for enum
Product: gdb
Version: unknown
Status: NEW
Severity: normal
Priority: P2
Component: python
AssignedTo: unassigned@sourceware.org
ReportedBy: tromey@redhat.com
Classification: Unclassified
It would be nice if there were some library functions
to make it very easy to instantiate a pretty-printer for enums.
Particularly, it would be useful sometimes to have an enum
printer which looks to see which enumerators could be or'd
together to get the value being printed.
That is:
(gdb) print p->field
$3 = CONSTANT | GLOBAL | WHATEVER
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.