aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2022-02-18 12:16:33 +0100
committerMarkus Metzger <markus.t.metzger@intel.com>2022-10-18 14:16:08 +0200
commit44288716537103644dfdd0c72f03be737cafb768 (patch)
tree37322516920e59cbd7b7cf3d8e86c0a3770f3739 /gdb/testsuite
parent32e876a80f015281cd7fca46e8a589c6cf132d11 (diff)
downloadgdb-44288716537103644dfdd0c72f03be737cafb768.zip
gdb-44288716537103644dfdd0c72f03be737cafb768.tar.gz
gdb-44288716537103644dfdd0c72f03be737cafb768.tar.bz2
gdb, testsuite: extend gdb_test_multiple checks
Check for warning: Corrupted shared library list and for Invalid cast. warning: Probes-based dynamic linker interface failed. Reverting to original interface. in gdb_test_multiple.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/lib/gdb.exp8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index bfa9fec..36bcfac 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -1188,6 +1188,14 @@ proc gdb_test_multiple { command message args } {
}
set result -1
}
+ -re "Corrupted shared library list.*$prompt_regexp" {
+ fail "$message (shared library list corrupted)"
+ set result -1
+ }
+ -re "Invalid cast\.\r\nwarning: Probes-based dynamic linker interface failed.*$prompt_regexp" {
+ fail "$message (probes interface failure)"
+ set result -1
+ }
}
append code $processed_code