* gdb.base/solib-disc.exp: Fix regexps.
authorTom Tromey <tromey@redhat.com>
Wed, 25 Jan 2012 16:20:31 +0000 (16:20 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 25 Jan 2012 16:20:31 +0000 (16:20 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/solib-disc.exp

index 33a7e08..9e4d06f 100644 (file)
@@ -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
index e0d4875..0b1e9e7 100644 (file)
@@ -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 ""