aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2025-04-07 13:52:00 -0400
committerSimon Marchi <simon.marchi@efficios.com>2025-04-08 14:04:10 -0400
commit0b188a3fb13c00d93163254df19292612e76a6cd (patch)
treee2e9a71ef85a63322ef9b9389686ca8fe0c1d95c
parent6488583941b234e65b8d44aa1436fd871d6e16f2 (diff)
downloadbinutils-0b188a3fb13c00d93163254df19292612e76a6cd.zip
binutils-0b188a3fb13c00d93163254df19292612e76a6cd.tar.gz
binutils-0b188a3fb13c00d93163254df19292612e76a6cd.tar.bz2
gdb/testsuite/dwarf: fix abbrev section name when putting type unit in DWO file
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 Approved-By: Tom Tromey <tom@tromey.com>
-rw-r--r--gdb/testsuite/lib/dwarf.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/lib/dwarf.exp b/gdb/testsuite/lib/dwarf.exp
index 0a657f6..f765bca 100644
--- a/gdb/testsuite/lib/dwarf.exp
+++ b/gdb/testsuite/lib/dwarf.exp
@@ -1649,7 +1649,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