* gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
authorDoug Evans <dje@google.com>
Thu, 10 Sep 2009 22:26:51 +0000 (22:26 +0000)
committerDoug Evans <dje@google.com>
Thu, 10 Sep 2009 22:26:51 +0000 (22:26 +0000)
Add $gdb_prompt to second breakpoint regexp.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/breakpoint-shadow.exp

index 1b265196c86383941b091cab44030928981306f4..44d1c0bd9354f0ed150cecce1bc8ad9baa1af8f6 100644 (file)
@@ -1,3 +1,8 @@
+2009-09-10  Doug Evans  <dje@google.com>
+
+       * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
+       Add $gdb_prompt to second breakpoint regexp.
+
 2009-09-08  Thiago Jung Bauermann  <thiago.bauermann@gmail.com>
 
        * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
index 7da032f3aa98436f00a0d34268b78b9af228f098..a787bb690b421ca148a5b885822be49a63bd6719 100644 (file)
@@ -50,7 +50,7 @@ gdb_test_multiple "disass main" $test {
 gdb_test "b [gdb_get_line_number "break-first"]" "Breakpoint \[0-9\] at .*" "First breakpoint placed"
 set test "Second breakpoint placed"
 gdb_test_multiple "b [gdb_get_line_number "break-second"]" $test {
-    -re "Breakpoint \[0-9\] at (0x\[0-9a-f\]*):.*" {
+    -re "Breakpoint \[0-9\] at (0x\[0-9a-f\]*):.*$gdb_prompt $" {
        pass $test
        set bpt2address $expect_out(1,string)
     }
This page took 0.038494 seconds and 4 git commands to generate.