mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
* gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
collect output incrementally.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
|
* gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
|
||||||
|
collect output incrementally.
|
||||||
|
|
||||||
2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
||||||
|
|
||||||
* gdb.mi/mi-var-cmd.exp: Allow value without "..." string
|
* gdb.mi/mi-var-cmd.exp: Allow value without "..." string
|
||||||
|
@ -359,8 +359,21 @@ gdb_expect {
|
|||||||
gdb_breakpoint $break2_loc
|
gdb_breakpoint $break2_loc
|
||||||
gdb_test "continue" "breakpoint 2.*" "break2 with many checkpoints"
|
gdb_test "continue" "breakpoint 2.*" "break2 with many checkpoints"
|
||||||
|
|
||||||
gdb_test "info checkpoints" " 600 .* 0 .*" \
|
set count 0
|
||||||
"info checkpoints with at least 600 checkpoints"
|
set msg "info checkpoints with at least 600 checkpoints"
|
||||||
|
gdb_test_multiple "info checkpoints" $msg {
|
||||||
|
-re " $decimal process \[^\r\]*\r\n" {
|
||||||
|
incr count
|
||||||
|
exp_continue
|
||||||
|
}
|
||||||
|
-re "$gdb_prompt $" {
|
||||||
|
if { $count >= 600 } {
|
||||||
|
pass $msg
|
||||||
|
} else {
|
||||||
|
fail $msg
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
# OK, kill 'em all...
|
# OK, kill 'em all...
|
||||||
|
Reference in New Issue
Block a user