aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/recurse.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/recurse.exp')
-rw-r--r--gdb/testsuite/gdb.base/recurse.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/recurse.exp b/gdb/testsuite/gdb.base/recurse.exp
index 02a3b93..41f1518 100644
--- a/gdb/testsuite/gdb.base/recurse.exp
+++ b/gdb/testsuite/gdb.base/recurse.exp
@@ -43,7 +43,7 @@ gdb_reinitialize_dir $srcdir/$subdir
gdb_load $objdir/$subdir/$binfile
# For now we only run this on PAs running BSD.
-if {[file exists $objdir/$subdir/$binfile] && [istarget "hppa*-*-bsd*"]} then {
+if {[istarget "sparc*-*-sunos4*"] || [istarget "hppa*-*-bsd*"]} then {
# Preserve the old timeout, and set a new one that should be
# sufficient to avoid timing out during this test.
@@ -94,6 +94,7 @@ if {[file exists $objdir/$subdir/$binfile] && [istarget "hppa*-*-bsd*"]} then {
# Continue until second set of b (second instance).
send "cont\n"
+ setup_xfail "sparc*-*-sunos4*"
expect {
-re "Continuing.*\[Ww\]atchpoint.*: b.*Old value = 5.*New value = 120.*return.*$prompt $" { pass "watchpoint hit, second time (second instance)" }
-re ".*$prompt $" {