This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] DWARF-5 .debug_names DW_IDX_type_unit fix [Re: [PATCH v3.2 5/5] DWARF-5: .debug_names index consumer]
- From: Pedro Alves <palves at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Victor Leschuk <vleschuk at accesssoftek dot com>
- Date: Wed, 13 Dec 2017 22:15:53 +0000
- Subject: Re: [patch] DWARF-5 .debug_names DW_IDX_type_unit fix [Re: [PATCH v3.2 5/5] DWARF-5: .debug_names index consumer]
- Authentication-results: sourceware.org; auth=none
- References: <149790572259.20186.14601775821404892582.stgit@host1.jankratochvil.net> <149790576669.20186.17091294504362630191.stgit@host1.jankratochvil.net> <20170628212114.GA23559@host1.jankratochvil.net> <20170702142957.GA22686@host1.jankratochvil.net> <628074a3-b992-1d96-273e-ecdf1e90bd8c@redhat.com> <20171212165221.GA12449@host1.jankratochvil.net> <20171213215731.GA32208@host1.jankratochvil.net>
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