aboutsummaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/pe/file_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/pe/file_test.go b/src/debug/pe/file_test.go
index 3d960ab7f3..acea0455d8 100644
--- a/src/debug/pe/file_test.go
+++ b/src/debug/pe/file_test.go
@@ -413,7 +413,7 @@ func testDWARF(t *testing.T, linktype int) {
var foundDebugGDBScriptsSection bool
for _, sect := range f.Sections {
- if sect.Name == ".debug_gdb_scripts" {
+ if sect.Name == ".debug_gdb_scripts" || sect.Name == ".zdebug_gdb_scripts" {
foundDebugGDBScriptsSection = true
}
}