From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4708 invoked by alias); 10 Jan 2013 14:52:41 -0000 Received: (qmail 4679 invoked by uid 48); 10 Jan 2013 14:52:41 -0000 From: "tromey at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug c++/15008] Lookup of base types with virtual functions is broken Date: Thu, 10 Jan 2013 14:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at redhat dot com X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2013-q1/txt/msg00040.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15008 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING CC| |tromey at redhat dot com --- Comment #1 from Tom Tromey 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.