This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/15008] Lookup of base types with virtual functions isbroken
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 10 Jan 2013 14:52:40 +0000
- Subject: [Bug c++/15008] Lookup of base types with virtual functions isbroken
- Auto-submitted: auto-generated
- References: <bug-15008-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15008
Tom Tromey <tromey at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
CC| |tromey at redhat dot com
--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2013-01-10 14:52:40 UTC ---
I tried this with today's git master using the Fedora 16 gcc.
It worked fine:
Breakpoint 3, main () at pr.cc:29
29 D d;
(gdb) ptype A
type = struct A {
}
(gdb) c
Continuing.
Breakpoint 1, D::foo (this=0x7fffffffe400) at pr.cc:12
12 A *b = 0;
(gdb) ptype A
type = struct A {
}
(gdb) c
Continuing.
Breakpoint 2, D::bar (this=0x7fffffffe400) at pr.cc:20
20 A *b = 0;
(gdb) ptype A
type = struct A {
}
I also tried 7.5, and it did fail there.
Could you try a newer gdb?
I wonder if this is PR 8888.
--
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.