This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v3.2 5/5] DWARF-5: .debug_names index consumer
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Victor Leschuk <vleschuk at accesssoftek dot com>
- Date: Tue, 12 Dec 2017 17:52:21 +0100
- Subject: 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>
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?
I have it reproducible even on my original development branch.
I do not know how it slipped through, I was testing -fdebug-types-section.
The .debug_names completely misses its support as it does not even produce
DW_IDX_type_unit. But I will be able to fix it only in January.
Jan