GDB (mis)behavior depends on DWARF DW_TAG_compile_unit data

Maxim Grigoriev maxim@tensilica.com
Thu Mar 15 02:03:00 GMT 2007


I found what the problem is. It's strictly Tensilica-compiler-specific.

I suggest we discuss it on the gdb-patch list since I already tried
to provide a patch to fix this issue.

If we end up with understanding that compiler should be fixed then
my GDB patch should be modified to recognize inconsistent DWARF and
issue a warning instead of printing misleading error messages (like it 
does now).

-- Maxim

Daniel Jacobowitz wrote:
> On Mon, Mar 12, 2007 at 02:54:05PM -0700, Maxim Grigoriev wrote:
>   
>> Let me find out what it is and get back to you with my conclusions. It's 
>> still can be
>> important for GDB in terms of better handling bad DWARF data.
>>     
>
> Thanks - I completely agree.  It's not the obvious problem, but
> whatever it is, we should fix it if we can.
>
>   



More information about the Gdb mailing list