* gdb.base/chng-syms.exp: Anchor exit pattern. Allow
a breakpoint at exit.
This commit is contained in:
parent
2227a3c550
commit
a195357fd2
@ -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
|
||||
|
@ -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 $" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user