public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/17761] New: "ptype class_with_enum" doesn't include enum
@ 2014-12-27 3:37 dje at google dot com
0 siblings, 0 replies; only message in thread
From: dje at google dot com @ 2014-12-27 3:37 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17761
Bug ID: 17761
Summary: "ptype class_with_enum" doesn't include enum
Product: gdb
Version: HEAD
Status: NEW
Severity: minor
Priority: P2
Component: symtab
Assignee: unassigned at sourceware dot org
Reporter: dje at google dot com
When reading dwarf debug info, we don't record with the class that it contains
an enum.
This means that "ptype class_with_enum" can't print the enum.
class c2
{
public:
enum e { aaa, bbb };
int x;
};
(gdb) pt c2
type = class c2 {
public:
int x;
}
(gdb)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-12-27 3:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-27 3:37 [Bug symtab/17761] New: "ptype class_with_enum" doesn't include enum dje at google dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).