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
* [Bug gdb/11639] Base class type information not accessible in binaries compiled with g++ 4.5.0
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 ` 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
2 siblings, 0 replies; 4+ messages in thread
From: andre dot poenitz at nokia dot com @ 2010-05-26 15:15 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From andre dot poenitz at nokia dot com 2010-05-26 15:15 -------
Created an attachment (id=4820)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4820&action=view)
Test case
--
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
* [Bug gdb/11639] Base class type information not accessible in binaries compiled with g++ 4.5.0
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
2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2010-08-18 20:19 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From tromey at redhat dot com 2010-08-18 20:19 -------
This seems to be a bug specific to GCC 4.5.
My 4.5 build from GCC svn shows the problem.
However, neither the F13 system compiler (which is 4.4-based)
nor GCC svn trunk showed the problem.
In any case, this doesn't seem to be a gdb bug, so I am closing this.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at redhat dot com
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
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
* [Bug gdb/11639] Base class type information not accessible in binaries compiled with g++ 4.5.0
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
2 siblings, 0 replies; 4+ messages in thread
From: andre dot poenitz at nokia dot com @ 2010-08-19 6:59 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From andre dot poenitz at nokia dot com 2010-08-19 06:59 -------
(In reply to comment #2)
> This seems to be a bug specific to GCC 4.5.
> My 4.5 build from GCC svn shows the problem.
Thanks for the investigation. I opened a new issue on the gcc bug tracker now:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45334
--
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).