diff options
author | Doug Evans <dje@google.com> | 2009-09-10 22:26:51 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2009-09-10 22:26:51 +0000 |
commit | 37c3696d63bab81747638bd2857e20ae9556e20e (patch) | |
tree | 91e81a4a134bc33fbbe8de41c5cd8600397f4985 /gdb | |
parent | 3e81d9f9faa6f824774487ab1938c9182763eff2 (diff) | |
download | gdb-37c3696d63bab81747638bd2857e20ae9556e20e.zip gdb-37c3696d63bab81747638bd2857e20ae9556e20e.tar.gz gdb-37c3696d63bab81747638bd2857e20ae9556e20e.tar.bz2 |
* gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
Add $gdb_prompt to second breakpoint regexp.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/breakpoint-shadow.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 1b26519..44d1c0b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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 diff --git a/gdb/testsuite/gdb.base/breakpoint-shadow.exp b/gdb/testsuite/gdb.base/breakpoint-shadow.exp index 7da032f..a787bb6 100644 --- a/gdb/testsuite/gdb.base/breakpoint-shadow.exp +++ b/gdb/testsuite/gdb.base/breakpoint-shadow.exp @@ -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) } |