aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/gdb.threads/check-libthread-db.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.threads/check-libthread-db.exp b/gdb/testsuite/gdb.threads/check-libthread-db.exp
index 6ecf40d..423c299 100644
--- a/gdb/testsuite/gdb.threads/check-libthread-db.exp
+++ b/gdb/testsuite/gdb.threads/check-libthread-db.exp
@@ -58,7 +58,9 @@ with_test_prefix "user-initiated check" {
# User-initiated check with NPTL possibly uninitialized.
gdb_test "continue" \
- ".*Stopped due to shared library event.*Inferior loaded .*libpthread.*"
+ [multi_line \
+ "Stopped due to shared library event:" \
+ " Inferior loaded .*(libpthread|libc).*"]
gdb_test_sequence "maint check libthread-db" \
"libpthread.so possibly not initialized" \