[patch] DWARF-5 .debug_names DW_IDX_type_unit fix [Re: [PATCH v3.2 5/5] DWARF-5: .debug_names index consumer]

Pedro Alves palves@redhat.com
Wed Dec 13 22:16:00 GMT 2017


On 12/13/2017 09:57 PM, Jan Kratochvil wrote:
> On Tue, 12 Dec 2017 17:52:21 +0100, Jan Kratochvil wrote:
>> On Sat, 09 Dec 2017 00:58:47 +0100, Pedro Alves wrote:
>>> I'm seeing a few regressions compared to .gdb_index, using
>>> --target_board=dwarf4-gdb-index :
>>>
>>> -PASS: gdb.base/enumval.exp: p ZERO 
>>> +FAIL: gdb.base/enumval.exp: p ZERO 
>> ...
>>> etc.  There are a few more.  That board has:
>>>
>>>  set_board_info debug_flags "-gdwarf-4 -fdebug-types-section"
>>>
>>> and if I remove "-fdebug-types-section", then the series
>>> is regression-free compared to .gdb_index.  Have you seen this?
> ...
>> The .debug_names completely misses its support as it does not even produce
>> DW_IDX_type_unit.
> 
> Here you are, could you also verify my regression testing for this patch?

Thanks!  I'm testing right away.

Pedro Alves



More information about the Gdb-patches mailing list