diff options
author | Pedro Alves <palves@redhat.com> | 2008-07-09 11:16:49 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2008-07-09 11:16:49 +0000 |
commit | 4487aabf2e89820ee5243a62c3d7ea9c0c5353f4 (patch) | |
tree | f7acd15d65c1a03c639fd21dda2e3d777ac44591 /gdb/testsuite/gdb.base/chng-syms.exp | |
parent | 9de2bdd7d43971a765aedb1773f9e175d98e98ba (diff) | |
download | gdb-4487aabf2e89820ee5243a62c3d7ea9c0c5353f4.zip gdb-4487aabf2e89820ee5243a62c3d7ea9c0c5353f4.tar.gz gdb-4487aabf2e89820ee5243a62c3d7ea9c0c5353f4.tar.bz2 |
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/gdb.base/chng-syms.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/chng-syms.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/chng-syms.exp b/gdb/testsuite/gdb.base/chng-syms.exp index 36ba7b9..dc54fc8 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 $" { |