summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-07-07 17:30:10 +0000
committerAndrew Cagney <cagney@redhat.com>2004-07-07 17:30:10 +0000
commitd1637e4f6a18c2533e4dffa026994626e50debdd (patch)
treed711cb55c608a0e52982163305ec2ade3fff4738
parent81bb2173660f816d4feb206436d6878efdab5c91 (diff)
downloadgdb-d1637e4f6a18c2533e4dffa026994626e50debdd.tar.gz
2004-07-07 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigbpt.exp (stepi_out): Check for a single step corrupting the PC.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/sigbpt.exp3
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index d16d58daefa..989ce312c2f 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2004-07-07 Andrew Cagney <cagney@gnu.org>
+
+ * gdb.base/sigbpt.exp (stepi_out): Check for a single step
+ corrupting the PC.
+
2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/templates.exp: Accept whitespace change in demangler
diff --git a/gdb/testsuite/gdb.base/sigbpt.exp b/gdb/testsuite/gdb.base/sigbpt.exp
index 46d0c86a4b9..d9585337aab 100644
--- a/gdb/testsuite/gdb.base/sigbpt.exp
+++ b/gdb/testsuite/gdb.base/sigbpt.exp
@@ -184,6 +184,9 @@ proc stepi_out { name args } {
-re "pc *[after_segv] .*bowler.*$gdb_prompt $" {
kfail gdb/1702 "$test (skipped fault insn)"
}
+ -re "pc *0x\[a-z0-9\]* .*bowler.*$gdb_prompt $" {
+ kfail gdb/1702 "$test (corrupt pc)"
+ }
}
# Clear any breakpoints