summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-05-03 06:49:05 +0000
committerDoug Evans <dje@google.com>2012-05-03 06:49:05 +0000
commitbf2f0858b16a808a504f519e22b8f14aaa76cc10 (patch)
tree2a849080c067cf006cddacd3ce5402e55d4428e1 /gdb/testsuite/gdb.dwarf2
parent943cb7566b4dbb46059e5d5b2f7968e8b3364c88 (diff)
downloadbinutils-gdb-bf2f0858b16a808a504f519e22b8f14aaa76cc10.tar.gz
* gdb.dwarf2/pr13961.S: Add file and source location, but leave
commented out.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2')
-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 8d333e75748..3e2b33408f6 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