diff options
Diffstat (limited to 'gdb/testsuite/lib/dwarf.exp')
-rw-r--r-- | gdb/testsuite/lib/dwarf.exp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/lib/dwarf.exp b/gdb/testsuite/lib/dwarf.exp index a058a78..120fa41 100644 --- a/gdb/testsuite/lib/dwarf.exp +++ b/gdb/testsuite/lib/dwarf.exp @@ -2419,7 +2419,11 @@ namespace eval Dwarf { # Emit a dummy CU. proc dummy_cu {} { # Generate a CU with default options and empty body. - cu {} { + cu {label dummy_cu} { + } + + # Generate an .debug_aranges entry for the dummy CU. + aranges {} dummy_cu { } } |