aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/pr13961.S
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/pr13961.S')
-rw-r--r--gdb/testsuite/gdb.dwarf2/pr13961.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/pr13961.S b/gdb/testsuite/gdb.dwarf2/pr13961.S
index 8d333e7..3e2b334 100644
--- a/gdb/testsuite/gdb.dwarf2/pr13961.S
+++ b/gdb/testsuite/gdb.dwarf2/pr13961.S
@@ -45,6 +45,12 @@
.type baz, @object
.size baz, 4
baz:
+#if 0
+ /* This is disabled because when it was accidentally left out it
+ caused a segv when used with .gdb_index. */
+ .file 1 "foo.c"
+ .loc 1 12 0
+#endif
.zero 4
.text