diff options
author | Fred Fish <fnf@specifix.com> | 2004-02-28 05:40:46 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 2004-02-28 05:40:46 +0000 |
commit | 72fd54a9667e569dcbeebe2e6f025255b62ec675 (patch) | |
tree | f238aa8417c1dc13658b43f7cbb7eb86352e35e8 /gdb/testsuite/gdb.base/chng-syms.exp | |
parent | ec3391e7041b496624293844c9746433b79d7562 (diff) | |
download | gdb-72fd54a9667e569dcbeebe2e6f025255b62ec675.zip gdb-72fd54a9667e569dcbeebe2e6f025255b62ec675.tar.gz gdb-72fd54a9667e569dcbeebe2e6f025255b62ec675.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite/gdb.base/chng-syms.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/chng-syms.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/chng-syms.exp b/gdb/testsuite/gdb.base/chng-syms.exp index 18f847f..90dcf2b 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" } |