This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Strange error message from gdb
- From: Daniel Jacobowitz <drow at false dot org>
- To: Andrew Haley <aph at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 19 Dec 2007 12:29:43 -0500
- Subject: Re: Strange error message from gdb
- References: <18281.21294.238761.442229@zebedee.pink>
On Wed, Dec 19, 2007 at 05:21:50PM +0000, Andrew Haley wrote:
> Die: DW_TAG_interface_type (abbrev = 23, offset = 4181)
> has children: FALSE
> attributes:
> DW_AT_declaration (DW_FORM_flag) flag: TRUE
> Dwarf Error: Cannot find type of die [in module /home/aph/a.out]
>
> I suppose this means that gcj is generating bad debug info, but I
> don't know what it's complaining about exactly, so I don't know how to
> fix it.
>
> Here's the abbrev in question:
>
> <1><1055>: Abbrev Number: 23 (DW_TAG_interface_type)
> <1056> DW_AT_declaration : 1
That DIE doesn't have any content. It says "I am a declartion of an
interface". But not which interface or what it's called or what the
type is.
I'd need a backtrace to be more specific, but in addition to bad debug
info this may be a limitation in GDB; it does not know anything about
DW_TAG_interface_type.
--
Daniel Jacobowitz
CodeSourcery