From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12507 invoked by alias); 26 May 2010 15:05:39 -0000 Received: (qmail 12448 invoked by uid 48); 26 May 2010 15:05:38 -0000 Date: Wed, 26 May 2010 15:05:00 -0000 From: "andre dot poenitz at nokia dot com" To: gdb-prs@sourceware.org Message-ID: <20100526150538.11639.andre.poenitz@nokia.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug gdb/11639] New: Base class type information not accessible in binaries compiled with g++ 4.5.0 X-Bugzilla-Reason: CC 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: 2010-q2/txt/msg00321.txt.bz2 This is the "second issue" in http://sourceware.org/bugzilla/show_bug.cgi?id=10953 but as it seems unrelated I put it as a separate issue here: If 'Derived' and 'Base' are setup as in #10953, and there is an additional function 'Derived::foo()' with the following implementation void Derived::foo() { Base *b = this; Base &br = *b; } then 'print b' yields "$1 = (void *) 0xbfffee38", i.e. the type information for 'b' is completely lost. It should print (Base *) 0xbfffee38. The problem is not present in g++ 4.4. -- Summary: Base class type information not accessible in binaries compiled with g++ 4.5.0 Product: gdb Version: 7.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdb AssignedTo: unassigned at sourceware dot org ReportedBy: andre dot poenitz at nokia dot com CC: gdb-prs at sourceware dot org GCC build triplet: i486-linux-gnu GCC host triplet: i486-linux-gnu GCC target triplet: i486-linux-gnu http://sourceware.org/bugzilla/show_bug.cgi?id=11639 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.