mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 05:47:26 +08:00
* gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
block.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2004-09-23 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
|
* gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
|
||||||
|
block.
|
||||||
|
|
||||||
2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
|
2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
|
||||||
|
|
||||||
* gdb.base/constvars.exp (local_compiler_xfail_check_2):
|
* gdb.base/constvars.exp (local_compiler_xfail_check_2):
|
||||||
|
@ -211,12 +211,12 @@ proc skip_to_handler { i } {
|
|||||||
set prefix "$i to handler"
|
set prefix "$i to handler"
|
||||||
|
|
||||||
# Run around to the done
|
# Run around to the done
|
||||||
|
# You can add more patterns to this if you need them.
|
||||||
set test "$prefix; resync"
|
set test "$prefix; resync"
|
||||||
gdb_test_multiple "continue" "$test" {
|
gdb_test_multiple "continue" "$test" {
|
||||||
-re "done = 0.*$gdb_prompt " {
|
-re "done = 0.*$gdb_prompt " {
|
||||||
pass "$test"
|
pass "$test"
|
||||||
}
|
}
|
||||||
# other patterns can go here
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Advance to the infinite loop
|
# Advance to the infinite loop
|
||||||
@ -252,12 +252,12 @@ proc skip_to_handler_entry { i } {
|
|||||||
set prefix "$i to handler entry"
|
set prefix "$i to handler entry"
|
||||||
|
|
||||||
# Run around to the done
|
# Run around to the done
|
||||||
|
# You can add more patterns to this if you need them.
|
||||||
set test "$prefix; resync"
|
set test "$prefix; resync"
|
||||||
gdb_test_multiple "continue" "$test" {
|
gdb_test_multiple "continue" "$test" {
|
||||||
-re "done = 0.*$gdb_prompt " {
|
-re "done = 0.*$gdb_prompt " {
|
||||||
pass "$test"
|
pass "$test"
|
||||||
}
|
}
|
||||||
# other patterns can go here
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Advance to the infinite loop
|
# Advance to the infinite loop
|
||||||
@ -285,12 +285,12 @@ proc skip_over_handler { i } {
|
|||||||
set prefix "$i over handler"
|
set prefix "$i over handler"
|
||||||
|
|
||||||
# Run around to the done
|
# Run around to the done
|
||||||
|
# You can add more patterns to this if you need them.
|
||||||
set test "$prefix; resync"
|
set test "$prefix; resync"
|
||||||
gdb_test_multiple "continue" "$test" {
|
gdb_test_multiple "continue" "$test" {
|
||||||
-re "done = 0.*$gdb_prompt " {
|
-re "done = 0.*$gdb_prompt " {
|
||||||
pass "$test"
|
pass "$test"
|
||||||
}
|
}
|
||||||
# other patterns can go here
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Advance to the infinite loop
|
# Advance to the infinite loop
|
||||||
@ -316,12 +316,12 @@ proc breakpoint_to_handler { i } {
|
|||||||
set prefix "$i on breakpoint, to handler"
|
set prefix "$i on breakpoint, to handler"
|
||||||
|
|
||||||
# Run around to the done
|
# Run around to the done
|
||||||
|
# You can add more patterns to this if you need them.
|
||||||
set test "$prefix; resync"
|
set test "$prefix; resync"
|
||||||
gdb_test_multiple "continue" "$test" {
|
gdb_test_multiple "continue" "$test" {
|
||||||
-re "done = 0.*$gdb_prompt " {
|
-re "done = 0.*$gdb_prompt " {
|
||||||
pass "$test"
|
pass "$test"
|
||||||
}
|
}
|
||||||
# other patterns can go here
|
|
||||||
}
|
}
|
||||||
|
|
||||||
gdb_test "break $infinite_loop" "" "$prefix; break infinite loop"
|
gdb_test "break $infinite_loop" "" "$prefix; break infinite loop"
|
||||||
@ -361,12 +361,12 @@ proc breakpoint_to_handler_entry { i } {
|
|||||||
set prefix "$i on breakpoint, to handler entry"
|
set prefix "$i on breakpoint, to handler entry"
|
||||||
|
|
||||||
# Run around to the done
|
# Run around to the done
|
||||||
|
# You can add more patterns to this if you need them.
|
||||||
set test "$prefix; resync"
|
set test "$prefix; resync"
|
||||||
gdb_test_multiple "continue" "$test" {
|
gdb_test_multiple "continue" "$test" {
|
||||||
-re "done = 0.*$gdb_prompt " {
|
-re "done = 0.*$gdb_prompt " {
|
||||||
pass "$test"
|
pass "$test"
|
||||||
}
|
}
|
||||||
# other patterns can go here
|
|
||||||
}
|
}
|
||||||
|
|
||||||
gdb_test "break $infinite_loop" "" "$prefix; break infinite loop"
|
gdb_test "break $infinite_loop" "" "$prefix; break infinite loop"
|
||||||
@ -398,12 +398,12 @@ proc breakpoint_over_handler { i } {
|
|||||||
set prefix "$i on breakpoint, skip handler"
|
set prefix "$i on breakpoint, skip handler"
|
||||||
|
|
||||||
# Run around to the done
|
# Run around to the done
|
||||||
|
# You can add more patterns to this if you need them.
|
||||||
set test "$prefix; resync"
|
set test "$prefix; resync"
|
||||||
gdb_test_multiple "continue" "$test" {
|
gdb_test_multiple "continue" "$test" {
|
||||||
-re "done = 0.*$gdb_prompt " {
|
-re "done = 0.*$gdb_prompt " {
|
||||||
pass "$test"
|
pass "$test"
|
||||||
}
|
}
|
||||||
# other patterns can go here
|
|
||||||
}
|
}
|
||||||
|
|
||||||
gdb_test "break $infinite_loop" "" "$prefix; break infinite loop"
|
gdb_test "break $infinite_loop" "" "$prefix; break infinite loop"
|
||||||
|
Reference in New Issue
Block a user