RE: Bad struct name in gdb with g++ 4.1.2

Michel METZGER
2010-11-15T20:45:45Z

I should have replied to my post earlier.
It is a know issue of gcc 4.1.2 and was fixed
In the later version.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35463

--
Michel.

-----Original Message-----
From: Dodji Seketeli [mailto:dodji@seketeli.org]
Sent: Monday, November 15, 2010 3:29 PM
To: Michel METZGER
Cc: Tom Tromey; gdb@sourceware.org
Subject: Re: Bad struct name in gdb with g++ 4.1.2

Michel METZGER <michel.metzger@st.com> a écrit:

> readelf -wi gives me the following
>
> [...]
> <1><66>: Abbrev Number: 2 (DW_TAG_structure_type)
> DW_AT_sibling : <8e>
> DW_AT_name : ._0
> DW_AT_byte_size : 8
> DW_AT_decl_file : 3
> DW_AT_decl_line : 1
> [...]
>
> This is a compiler bug then.

Could you please check if you still have the problem with GCC 4.4 or
4.5? If yes, please file a bug to http://gcc.gnu.org/bugzilla with your
testcase. At least the information will not get lost. Who knows, someone
could even fix the problem ;-)

--
Dodji