[PATCH v2 1/2] [gdb/testsuite] Add gdb.dwarf2/dwz-unused-pu.exp

Tom de Vries tdevries@suse.de
Tue Sep 24 08:33:49 GMT 2024


On 9/23/24 19:28, Tom Tromey wrote:
>>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:
> 
> Tom> Add a new test-case gdb.dwarf2/dwz-unused-pu.exp that checks that a symbol
> Tom> from an unused PU is not accessible.
> 
> Tom> Passes with the relevant target boards:
> Tom> - unix (using the cooked index),
> Tom> - readnow (using no index at all),
> Tom> - cc-with-gdb-index (using .gdb_index), and
> Tom> - cc-with-debug-names (using .debug_names).
> 
> Tom> Tested on x86_64-linux.
> 
> Looks good.
> Approved-By: Tom Tromey <tom@tromey.com>

Thanks for the review, I've pushed the series.

- Tom



More information about the Gdb-patches mailing list