summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2004-02-29 02:55:21 +0000
committerDaniel Jacobowitz <dan@debian.org>2004-02-29 02:55:21 +0000
commit9c1728ca50288440048a37ef8c4df7669733c793 (patch)
treeb6358c9a769510dbbd813b5f5887c437203c51ba
parent47187d94c3a983d6f529f7fc68dab959c8082150 (diff)
downloadgdb-9c1728ca50288440048a37ef8c4df7669733c793.tar.gz
* gdb.base/chng-syms.exp: Anchor exit pattern. Allow
a breakpoint at exit.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/chng-syms.exp5
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index ba85a6b1195..493a67b41a4 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-28 Daniel Jacobowitz <drow@mvista.com>
+
+ * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
+ a breakpoint at exit.
+
2004-02-27 Fred Fish <fnf@redhat.com>
* gdb.base/chng-syms.exp: Add expect condition to match failing
diff --git a/gdb/testsuite/gdb.base/chng-syms.exp b/gdb/testsuite/gdb.base/chng-syms.exp
index 90dcf2b238a..b967d21614b 100644
--- a/gdb/testsuite/gdb.base/chng-syms.exp
+++ b/gdb/testsuite/gdb.base/chng-syms.exp
@@ -105,7 +105,10 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
gdb_run_cmd
gdb_expect {
- -re "Error in re-setting .*No symbol .var1..*Program exited normally.*" {
+ -re "Error in re-setting .*No symbol .var1..*Program exited normally.*$gdb_prompt $" {
+ pass "running with invalidated bpt condition after executable changes"
+ }
+ -re "Error in re-setting .*No symbol .var1..*Breakpoint .*,( 0x.* in)? exit .*$gdb_prompt $" {
pass "running with invalidated bpt condition after executable changes"
}
-re "$gdb_prompt $" {