From 85880df59d19508a8c991c9a3fe2ba15f01c2a63 Mon Sep 17 00:00:00 2001 From: kettenis Date: Thu, 23 Sep 2004 20:29:29 +0000 Subject: [PATCH] * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple block. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/sigstep.exp | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index cdb8af76c2..53b2b57994 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-09-23 Mark Kettenis + + * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple + block. + 2004-09-23 Michael Chastain * gdb.base/constvars.exp (local_compiler_xfail_check_2): diff --git a/gdb/testsuite/gdb.base/sigstep.exp b/gdb/testsuite/gdb.base/sigstep.exp index 55de44520f..81f8eed453 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" -- 2.11.0