This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug symtab/17761] New: "ptype class_with_enum" doesn't include enum
- From: "dje at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sat, 27 Dec 2014 03:37:04 +0000
- Subject: [Bug symtab/17761] New: "ptype class_with_enum" doesn't include enum
- Auto-submitted: auto-generated
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.