diff options
author | Tom Tromey <tom@tromey.com> | 2023-12-07 12:18:00 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2024-01-18 08:20:17 -0700 |
commit | 07e98a5ad3fe00d3327a64b91d50d7a05c607556 (patch) | |
tree | cf4240ca46241bf6ff638a63310e92ca44886618 /gdb/testsuite/gdb.dwarf2/clang-debug-names-2-foo.c | |
parent | d2cc8bd228bfbd649200f909ef69c0b02a375f77 (diff) | |
download | binutils-07e98a5ad3fe00d3327a64b91d50d7a05c607556.zip binutils-07e98a5ad3fe00d3327a64b91d50d7a05c607556.tar.gz binutils-07e98a5ad3fe00d3327a64b91d50d7a05c607556.tar.bz2 |
Explicitly expand CUs in dw2-inline-with-lexical-scope.exp
dw2-inline-with-lexical-scope.exp relies on the main CU being
expanded. However, it doesn't guarantee that this actually happens,
and with the new .debug_names reader, it won't, because the "main"
program will be found in the index without requiring CU expansion.
This patch fixes the problem by explicitly expanding the CU in
question.
Note that this is an artificial bug -- it occurs because the generated
.debug_aranges isn't correct.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/clang-debug-names-2-foo.c')
0 files changed, 0 insertions, 0 deletions