From bf2f0858b16a808a504f519e22b8f14aaa76cc10 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 3 May 2012 06:49:05 +0000 Subject: [PATCH] * gdb.dwarf2/pr13961.S: Add file and source location, but leave commented out. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.dwarf2/pr13961.S | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 76f9c5826c..568b00e65c 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-05-03 Doug Evans + + * gdb.dwarf2/pr13961.S: Add file and source location, but leave + commented out. + 2012-05-03 Yao Qi * 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 8d333e7574..3e2b33408f 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