summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>2004-02-28 05:40:46 +0000
committerFred Fish <fnf@specifix.com>2004-02-28 05:40:46 +0000
commit8514e9b40ff046a51de37b371acb0e4f6267c735 (patch)
tree7e849f8f36a28cec308a407ddfcf63e4253c9f42
parentc4de93bb88fd72be90e30778ef04d58c1710a62c (diff)
downloadgdb-8514e9b40ff046a51de37b371acb0e4f6267c735.tar.gz
Reviewed and approved by drow@false.org.
2004-02-27 Fred Fish <fnf@redhat.com> * gdb.base/chng-syms.exp: Add expect condition to match failing case that isn't a timeout.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/chng-syms.exp3
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index a9c8a5cbdbf..ba85a6b1195 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-27 Fred Fish <fnf@redhat.com>
+
+ * gdb.base/chng-syms.exp: Add expect condition to match failing
+ case that isn't a timeout.
+
2004-02-27 Andrew Cagney <cagney@redhat.com>
* gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
diff --git a/gdb/testsuite/gdb.base/chng-syms.exp b/gdb/testsuite/gdb.base/chng-syms.exp
index 18f847f937d..90dcf2b238a 100644
--- a/gdb/testsuite/gdb.base/chng-syms.exp
+++ b/gdb/testsuite/gdb.base/chng-syms.exp
@@ -108,6 +108,9 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
-re "Error in re-setting .*No symbol .var1..*Program exited normally.*" {
pass "running with invalidated bpt condition after executable changes"
}
+ -re "$gdb_prompt $" {
+ fail "running with invalidated bpt condition after executable changes"
+ }
timeout {
fail "(timeout) running with invalidated bpt condition after executable changes"
}