This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug symtab/16040] New: ptype prints the wrong type for members with typedef coming from outside class
- From: "dje at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 10 Oct 2013 23:36:47 +0000
- Subject: [Bug symtab/16040] New: ptype prints the wrong type for members with typedef coming from outside class
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16040
Bug ID: 16040
Summary: ptype prints the wrong type for members with typedef
coming from outside class
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: symtab
Assignee: unassigned at sourceware dot org
Reporter: dje at google dot com
foo.c:
typedef int my_int;
class c
{
public:
my_int x;
typedef int another_int;
};
c foo;
int
main ()
{
return 0;
}
(gdb) pty foo
type = class c {
public:
another_int x; <<<<<<<<<<< this can't be right
typedef int another_int;
}
--
You are receiving this mail because:
You are on the CC list for the bug.