aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-08-09 19:09:30 +0000
committerMark Kettenis <kettenis@gnu.org>2004-08-09 19:09:30 +0000
commit6a89fc9c759ee25ad938af8c747d9fd265ef2be3 (patch)
tree4cde06ea8322139bb0a370d7c3cb5e794f53a3cc
parent09991fa0eee7d10733f7a5b7b9420981af849c7e (diff)
downloadgdb-6a89fc9c759ee25ad938af8c747d9fd265ef2be3.zip
gdb-6a89fc9c759ee25ad938af8c747d9fd265ef2be3.tar.gz
gdb-6a89fc9c759ee25ad938af8c747d9fd265ef2be3.tar.bz2
* gdb.base/sigaltstack.exp: Provide proper anchoring.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/sigaltstack.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 5544a4c..fb16522 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2004-08-09 Mark Kettenis <kettenis@gnu.org>
+
+ * gdb.base/sigaltstack.exp: Provide proper anchoring.
+
2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
* gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
diff --git a/gdb/testsuite/gdb.base/sigaltstack.exp b/gdb/testsuite/gdb.base/sigaltstack.exp
index 0e5eb09..d1e37d8 100644
--- a/gdb/testsuite/gdb.base/sigaltstack.exp
+++ b/gdb/testsuite/gdb.base/sigaltstack.exp
@@ -89,7 +89,7 @@ proc finish_test { pattern msg } {
setup_kfail "i?86-*-linux*" gdb/1736
fail "$msg (could not set breakpoint)"
}
- -re "$pattern" {
+ -re "$pattern.*${gdb_prompt} $" {
pass $msg
}
}