bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb 5.0 "ia64-unknown-linux" segv error


From: David B Anderson
Subject: Re: gdb 5.0 "ia64-unknown-linux" segv error
Date: Sat, 9 Dec 2000 15:48:53 -0800 (PST)

>kevinb writes:
>> <1><96d50>: Abbrev Number: 12 (DW_TAG_typedef)
>>     DW_AT_name        : ulong  
>>     DW_AT_decl_file   : 12     
>>     DW_AT_decl_line   : 59     
>>     DW_AT_type        : <96d50>        
>>
>>I'm not a DWARF2 expert, but it looks to me like the above is a
>>self referential typedef.  This would explain why you're seeing
>>the infinite recursion in dwarf2read.c.
>
>Yes, it is a bug. This is not correct dwarf2.
>
>I was going to say it was 'illegal' dwarf2, but the spec
>does not quite allow me to say that:
>the spec:

No, I was wrong, it is illegal dwarf2.

Section 2.5  of the July 1993 spec (v2.0.0)
and section 2.6 of the current draft  version both have:

  Any debugging information entry describing a declaration that
  has a type has a DW_AT_type attribute, whose value is a
  reference to another debugging information entry.

which is clear enough, and rules out the dwarf2 example above.

address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]