commit | 21fc5abfb1f15f66f1a4a805a6b74ebfaa9b583d | [log] [tgz] |
---|---|---|
author | Tom de Vries <tdevries@suse.de> | Tue Sep 24 10:32:41 2024 +0200 |
committer | Tom de Vries <tdevries@suse.de> | Tue Sep 24 10:32:41 2024 +0200 |
tree | 30eef83a95c29ab5d1a069d00b0ea797e9137262 | |
parent | 00105aa1c4d9933fe3cfe9bc1be0daefe9f8ca36 [diff] |
[gdb/testsuite] Add gdb.dwarf2/dwz-unused-pu.exp Add a new test-case gdb.dwarf2/dwz-unused-pu.exp that checks that a symbol from an unused PU is not accessible. Passes with the relevant target boards: - unix (using the cooked index), - readnow (using no index at all), - cc-with-gdb-index (using .gdb_index), and - cc-with-debug-names (using .debug_names). Tested on x86_64-linux.