aboutsummaryrefslogtreecommitdiff
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
parent943cb7566b4dbb46059e5d5b2f7968e8b3364c88 (diff)
downloadgdb-bf2f0858b16a808a504f519e22b8f14aaa76cc10.zip
gdb-bf2f0858b16a808a504f519e22b8f14aaa76cc10.tar.gz
gdb-bf2f0858b16a808a504f519e22b8f14aaa76cc10.tar.bz2
* gdb.dwarf2/pr13961.S: Add file and source location, but leave
commented out.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.dwarf2/pr13961.S6
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 76f9c58..568b00e 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-03 Doug Evans <dje@google.com>
+
+ * gdb.dwarf2/pr13961.S: Add file and source location, but leave
+ commented out.
+
2012-05-03 Yao Qi <yao@codesourcery.com>
* gdb.base/catch-syscall.exp: Skip it before compilation if target
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