This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH]: (obvious) testsuite/gdb.base/ending-run.exp
- To: gdb-patches <gdb-patches at sources dot redhat dot com>
- Subject: [PATCH]: (obvious) testsuite/gdb.base/ending-run.exp
- From: Corinna Vinschen <vinschen at redhat dot com>
- Date: Mon, 29 Oct 2001 19:17:07 +0100
- Reply-To: gdb-patches <gdb-patches at sources dot redhat dot com>
Hi,
I just applied the following patch according to the "obvious fix rule"
to gdb.base/ending-run.exp. It makes the output of the pass branches
in the `step to end of run' case equal and adds a branch for the
Stormy16 target.
Corinna
2001-10-29 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/ending-run.exp: Create identical output when passing
`step to end of run' case. Add regular expression branch satisfying
Stormy16 target.
Index: testsuite/gdb.base/ending-run.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/ending-run.exp,v
retrieving revision 1.8
diff -u -p -r1.8 ending-run.exp
--- ending-run.exp 2001/09/18 17:49:06 1.8
+++ ending-run.exp 2001/10/29 18:12:41
@@ -219,14 +219,18 @@ if {![target_info exists use_cygmon] ||
# If we actually have debug info for the start function,
# then we won't get the "Single-stepping until function
# exit" message.
- pass "step to end of run 1"
+ pass "step to end of run"
}
-re ".*Single.*Program exited.*$gdb_prompt $" {
- pass "step to end of run 1"
+ pass "step to end of run"
}
-re ".*Single.*in exit.*from.*dld.sl.*$gdb_prompt $" {
- pass "step to end of run 2"
+ pass "step to end of run"
gdb_test "c" ".*" "continue after exit"
+ }
+ -re ".*Single.*_int_reset.*$gdb_prompt $" {
+ pass "step to end of run"
+ setup_xfail "stormy16-*-*"
}
-re ".*$gdb_prompt $" {
fail "step to end of run"