diff options
author | Pedro Alves <pedro@codesourcery.com> | 2008-07-09 11:16:49 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2008-07-09 11:16:49 +0000 |
commit | 37f7f50449affa0e4d50deb20b422d98491ee664 (patch) | |
tree | f59a6cce480485255601cc329f7cd83b1ff1b9db /gdb/testsuite | |
parent | 61a04f82cf2720578da4c32b5342e391d1b13cce (diff) | |
download | gdb-37f7f50449affa0e4d50deb20b422d98491ee664.tar.gz |
gdb/
2008-07-09 Pedro Alves <pedro@codesourcery.com>
* symfile.c (load_command): Reopen the exec file and reread
symbols before anything else.
gdb/testsuite/
2008-07-09 Pedro Alves <pedro@codesourcery.com>
* gdb.base/chng-syms.exp: Don't expect "No symbol ...".
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/chng-syms.exp | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 27886568cee..3f837fb0dc6 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2008-07-09 Pedro Alves <pedro@codesourcery.com> + * gdb.base/chng-syms.exp: Don't expect "No symbol ...". + +2008-07-09 Pedro Alves <pedro@codesourcery.com> + * gdb.base/fullname.exp: Restore pwd if compiling failed. 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com> diff --git a/gdb/testsuite/gdb.base/chng-syms.exp b/gdb/testsuite/gdb.base/chng-syms.exp index 36ba7b93170..dc54fc85005 100644 --- a/gdb/testsuite/gdb.base/chng-syms.exp +++ b/gdb/testsuite/gdb.base/chng-syms.exp @@ -105,10 +105,10 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb gdb_run_cmd gdb_expect { - -re ".*No symbol .var1..*Program exited normally.*$gdb_prompt $" { + -re ".*Program exited normally.*$gdb_prompt $" { pass "running with invalidated bpt condition after executable changes" } - -re "No symbol .var1..*Breakpoint .*,( 0x.* in)? (\[^ \]*)exit .*$gdb_prompt $" { + -re ".*Breakpoint .*,( 0x.* in)? (\[^ \]*)exit .*$gdb_prompt $" { pass "running with invalidated bpt condition after executable changes" } -re "$gdb_prompt $" { |