aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-01-25 16:20:31 +0000
committerTom Tromey <tromey@redhat.com>2012-01-25 16:20:31 +0000
commit484abf42a0ca7532ceff0cfe9f9ada88e1a199b6 (patch)
tree76a261edf8e6eb8fb7b7666635247720fc59a5af
parent5d26827631bff1bd94ab13786fc4f05ab8bfe9e3 (diff)
downloadgdb-484abf42a0ca7532ceff0cfe9f9ada88e1a199b6.zip
gdb-484abf42a0ca7532ceff0cfe9f9ada88e1a199b6.tar.gz
gdb-484abf42a0ca7532ceff0cfe9f9ada88e1a199b6.tar.bz2
* gdb.base/solib-disc.exp: Fix regexps.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/solib-disc.exp4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 33a7e08..9e4d06f 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2012-01-25 Tom Tromey <tromey@redhat.com>
+
+ * gdb.base/solib-disc.exp: Fix regexps.
+
2012-01-24 Tom Tromey <tromey@redhat.com>
* lib/mi-support.exp (mi_expect_stop): Add special case for
diff --git a/gdb/testsuite/gdb.base/solib-disc.exp b/gdb/testsuite/gdb.base/solib-disc.exp
index e0d4875..0b1e9e7 100644
--- a/gdb/testsuite/gdb.base/solib-disc.exp
+++ b/gdb/testsuite/gdb.base/solib-disc.exp
@@ -62,7 +62,7 @@ if ![runto_main] then {
gdb_test_no_output "set stop-on-solib-events 1"
-gdb_test "continue" "Stopped due to shared library event" "continue to load"
+gdb_test "continue" "Stopped due to shared library event.*" "continue to load"
set msg "save \$pc after load"
set saved_pc ""
@@ -84,7 +84,7 @@ if { [gdb_reconnect] == 0 } {
gdb_test "print/x \$pc" "\\\$$decimal = $saved_pc" "check \$pc after load"
-gdb_test "continue" "Stopped due to shared library event" "continue to unload"
+gdb_test "continue" "Stopped due to shared library event.*" "continue to unload"
set msg "save \$pc after unload"
set saved_pc ""