diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-08-15 07:56:20 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-08-15 07:56:20 +0000 |
commit | c1049fca4e67b64de8b97216b8c61e3292da3dc2 (patch) | |
tree | e7703e1b8fa10039fe55536d030065f77f1a859f /gdb/testsuite/gdb.arch/i386-dr3-watch.exp | |
parent | 10614790ea136d0098fa7b858816eb4a183cacdf (diff) | |
download | gdb-c1049fca4e67b64de8b97216b8c61e3292da3dc2.zip gdb-c1049fca4e67b64de8b97216b8c61e3292da3dc2.tar.gz gdb-c1049fca4e67b64de8b97216b8c61e3292da3dc2.tar.bz2 |
gdb/testsuite/
* gdb.arch/i386-dr3-watch.exp
(watchpoint on gap1 does not fit debug registers)
(delete all watchpoints): Fix racy expect strings.
Diffstat (limited to 'gdb/testsuite/gdb.arch/i386-dr3-watch.exp')
-rw-r--r-- | gdb/testsuite/gdb.arch/i386-dr3-watch.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.arch/i386-dr3-watch.exp b/gdb/testsuite/gdb.arch/i386-dr3-watch.exp index 35d7587..1c9cef1 100644 --- a/gdb/testsuite/gdb.arch/i386-dr3-watch.exp +++ b/gdb/testsuite/gdb.arch/i386-dr3-watch.exp @@ -64,7 +64,7 @@ gdb_test "watch i1" \ # 4 if all were available). set test "watchpoint on gap1 does not fit debug registers" gdb_test_multiple "watch gap1" "$test" { - -re "Hardware watchpoint .*: gap1.*Warning:.*Could not insert hardware watchpoint.*You may have requested too many.*" { + -re "Hardware watchpoint .*: gap1.*Warning:.*Could not insert hardware watchpoint.*You may have requested too many.*\r\n$gdb_prompt $" { pass $test } -re "Hardware watchpoint .*: gap1\r\n$gdb_prompt $" { @@ -81,7 +81,7 @@ gdb_test_multiple "watch gap1" "$test" { gdb_test "delete" \ "" \ "delete all watchpoints" \ - "Delete all breakpoints.*$" \ + {Delete all breakpoints\? \(y or n\) $} \ "y" # If debug registers were left occupied by mistake, we'll fail to set |