[PATCH][gdb/testsuite] Add share_abbrev option to cu in dwarf assembler

Simon Marchi simark@simark.ca
Tue Nov 10 18:47:31 GMT 2020


On 2020-11-05 11:39 a.m., Tom de Vries wrote:
> Hi,
>
> This adds a share_abbrev option in the dwarf assembler, such that
> different CUs can share a single abbrev table, like so:
> ...
> cu { share_abbrev first } { ... }
> cu { share_abbrev 1 } { ... }
> cu { share_abbrev 1 } { ... }
> cu { share_abbrev last } { ... }
> ...
>
> Tested by adding share_abbrev first/last to the two CUs in
> gdb.dwarf2/imported-unit.exp.
>
> Any comments?

No comments, other than I'm curious what's the end goal of this.  You
have a bug to reproduce that requires it?

Simon


More information about the Gdb-patches mailing list