Thread: Re: GDB (mis)behavior depends on DWARF DW_TAG_compile_unit data
Re: GDB (mis)behavior depends on DWARF
DW_TAG_compile_unit data
United States
2007-03-12 16:58:21
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.
--
Daniel Jacobowitz
CodeSourcery
Re: GDB (mis)behavior depends on DWARF
DW_TAG_compile_unit data
2007-03-14 21:03:30
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.
>
>