aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-09-23 20:29:30 +0000
committerMark Kettenis <kettenis@gnu.org>2004-09-23 20:29:30 +0000
commit60fe1a5107bbccef456d88b8e6985ccced32165a (patch)
tree05398470c5004b149602963ac7787e69cb2acdc0 /gdb/testsuite/gdb.base
parent63fcc999f4c67be366b4473bac06fdba722b54c0 (diff)
downloadgdb-60fe1a5107bbccef456d88b8e6985ccced32165a.zip
gdb-60fe1a5107bbccef456d88b8e6985ccced32165a.tar.gz
gdb-60fe1a5107bbccef456d88b8e6985ccced32165a.tar.bz2
* gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
block.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/sigstep.exp12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.base/sigstep.exp b/gdb/testsuite/gdb.base/sigstep.exp
index 55de445..81f8eed 100644
--- a/gdb/testsuite/gdb.base/sigstep.exp
+++ b/gdb/testsuite/gdb.base/sigstep.exp
@@ -211,12 +211,12 @@ proc skip_to_handler { i } {
set prefix "$i to handler"
# Run around to the done
+ # You can add more patterns to this if you need them.
set test "$prefix; resync"
gdb_test_multiple "continue" "$test" {
-re "done = 0.*$gdb_prompt " {
pass "$test"
}
- # other patterns can go here
}
# Advance to the infinite loop
@@ -252,12 +252,12 @@ proc skip_to_handler_entry { i } {
set prefix "$i to handler entry"
# Run around to the done
+ # You can add more patterns to this if you need them.
set test "$prefix; resync"
gdb_test_multiple "continue" "$test" {
-re "done = 0.*$gdb_prompt " {
pass "$test"
}
- # other patterns can go here
}
# Advance to the infinite loop
@@ -285,12 +285,12 @@ proc skip_over_handler { i } {
set prefix "$i over handler"
# Run around to the done
+ # You can add more patterns to this if you need them.
set test "$prefix; resync"
gdb_test_multiple "continue" "$test" {
-re "done = 0.*$gdb_prompt " {
pass "$test"
}
- # other patterns can go here
}
# Advance to the infinite loop
@@ -316,12 +316,12 @@ proc breakpoint_to_handler { i } {
set prefix "$i on breakpoint, to handler"
# Run around to the done
+ # You can add more patterns to this if you need them.
set test "$prefix; resync"
gdb_test_multiple "continue" "$test" {
-re "done = 0.*$gdb_prompt " {
pass "$test"
}
- # other patterns can go here
}
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"
# Run around to the done
+ # You can add more patterns to this if you need them.
set test "$prefix; resync"
gdb_test_multiple "continue" "$test" {
-re "done = 0.*$gdb_prompt " {
pass "$test"
}
- # other patterns can go here
}
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"
# Run around to the done
+ # You can add more patterns to this if you need them.
set test "$prefix; resync"
gdb_test_multiple "continue" "$test" {
-re "done = 0.*$gdb_prompt " {
pass "$test"
}
- # other patterns can go here
}
gdb_test "break $infinite_loop" "" "$prefix; break infinite loop"