[3/4] gdb/testsuite/dwarf: fix abbrev section name when putting type unit in DWO file
Checks
Commit Message
From: Simon Marchi <simon.marchi@polymtl.ca>
Fix what looks like a copy paste error resulting in the wrong abbrev
section name. The resulting section name in my test was
".debug_info.dwo.dwo", when it should have been ".debug_abbrev.dwo".
Change-Id: I82166d8ac6eaf3c3abc15d2d2949d00c31fe79f4
---
gdb/testsuite/lib/dwarf.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -1652,7 +1652,7 @@ namespace eval Dwarf {
}
if { $_cu_is_fission } {
set section "$section.dwo"
- set _abbrev_section "$section.dwo"
+ set _abbrev_section "$_abbrev_section.dwo"
}
_section $section