aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-05-30 08:00:19 -0600
committerTom Tromey <tom@tromey.com>2022-04-12 09:31:17 -0600
commit6209cde4ddb85a991ed1dda6f143ef08b75558df (patch)
tree028b741bd975c3f2bfb42deb94d78029c8a4d95b /gdb/testsuite
parent3d20b8d99a54382e6e1a6c433e71e0775c6856c6 (diff)
downloadgdb-6209cde4ddb85a991ed1dda6f143ef08b75558df.zip
gdb-6209cde4ddb85a991ed1dda6f143ef08b75558df.tar.gz
gdb-6209cde4ddb85a991ed1dda6f143ef08b75558df.tar.bz2
Delete DWARF psymtab code
This removes the DWARF psymtab reader.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/gdb.dwarf2/gdb-index-nodebug.exp8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/gdb-index-nodebug.exp b/gdb/testsuite/gdb.dwarf2/gdb-index-nodebug.exp
index fe1398f..5b67172 100644
--- a/gdb/testsuite/gdb.dwarf2/gdb-index-nodebug.exp
+++ b/gdb/testsuite/gdb.dwarf2/gdb-index-nodebug.exp
@@ -28,6 +28,11 @@ set have_index_re \
"Error while writing index for \[^\r\n\]*:" \
"Cannot use an index to create the index"]
set have_index_re [join $have_index_re]
+set no_debug_re \
+ [list \
+ "Error while writing index for \[^\r\n\]*:" \
+ "No debugging symbols"]
+set no_debug_re [join $no_debug_re]
set readnow_p [readnow]
set index_file ${testfile}.gdb-index
@@ -41,6 +46,9 @@ gdb_test_multiple $cmd "try to save gdb index" {
fail $gdb_test_name
}
}
+ -re -wrap $no_debug_re {
+ pass $gdb_test_name
+ }
-re -wrap "^$cmd" {
pass $gdb_test_name
}