This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[COMMIT] Fix testsuite/gdb.base/sigstep.exp breakage
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 23 Sep 2004 22:27:53 +0200 (CEST)
- Subject: [COMMIT] Fix testsuite/gdb.base/sigstep.exp breakage
Tested on i386-unknown-freebsd4.7 and amd64-unknown-freebsd5.2.
Committed as obvious,
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
block.
Index: gdb.base/sigstep.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/sigstep.exp,v
retrieving revision 1.8
diff -u -p -r1.8 sigstep.exp
--- gdb.base/sigstep.exp 2 Sep 2004 09:47:38 -0000 1.8
+++ gdb.base/sigstep.exp 23 Sep 2004 18:53:55 -0000
@@ -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"