gdb/testsuite/
* gdb.arch/i386-dr3-watch.exp (watchpoint on gap1 does not fit debug registers) (delete all watchpoints): Fix racy expect strings.
This commit is contained in:
parent
10614790ea
commit
c1049fca4e
|
@ -1,3 +1,9 @@
|
||||||
|
2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
|
* gdb.arch/i386-dr3-watch.exp
|
||||||
|
(watchpoint on gap1 does not fit debug registers)
|
||||||
|
(delete all watchpoints): Fix racy expect strings.
|
||||||
|
|
||||||
2011-08-14 Yao Qi <yao@codesourcery.com>
|
2011-08-14 Yao Qi <yao@codesourcery.com>
|
||||||
|
|
||||||
* gdb.base/maint.exp: set data_section to ".neardata".
|
* gdb.base/maint.exp: set data_section to ".neardata".
|
||||||
|
|
|
@ -64,7 +64,7 @@ gdb_test "watch i1" \
|
||||||
# 4 if all were available).
|
# 4 if all were available).
|
||||||
set test "watchpoint on gap1 does not fit debug registers"
|
set test "watchpoint on gap1 does not fit debug registers"
|
||||||
gdb_test_multiple "watch gap1" "$test" {
|
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
|
pass $test
|
||||||
}
|
}
|
||||||
-re "Hardware watchpoint .*: gap1\r\n$gdb_prompt $" {
|
-re "Hardware watchpoint .*: gap1\r\n$gdb_prompt $" {
|
||||||
|
@ -81,7 +81,7 @@ gdb_test_multiple "watch gap1" "$test" {
|
||||||
gdb_test "delete" \
|
gdb_test "delete" \
|
||||||
"" \
|
"" \
|
||||||
"delete all watchpoints" \
|
"delete all watchpoints" \
|
||||||
"Delete all breakpoints.*$" \
|
{Delete all breakpoints\? \(y or n\) $} \
|
||||||
"y"
|
"y"
|
||||||
|
|
||||||
# If debug registers were left occupied by mistake, we'll fail to set
|
# If debug registers were left occupied by mistake, we'll fail to set
|
||||||
|
|
Loading…
Reference in New Issue