public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/11639] New: Base class type information not accessible in binaries compiled with g++ 4.5.0
@ 2010-05-26 15:05 andre dot poenitz at nokia dot com
  2010-05-26 15:15 ` [Bug gdb/11639] " andre dot poenitz at nokia dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: andre dot poenitz at nokia dot com @ 2010-05-26 15:05 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-19  6:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-26 15:05 [Bug gdb/11639] New: Base class type information not accessible in binaries compiled with g++ 4.5.0 andre dot poenitz at nokia dot com
2010-05-26 15:15 ` [Bug gdb/11639] " andre dot poenitz at nokia dot com
2010-08-18 20:19 ` tromey at redhat dot com
2010-08-19  6:59 ` andre dot poenitz at nokia dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).