* infcmd.c (run_command): Check that the `exec' target layer's BFD
authorJim Blandy <jimb@codesourcery.com>
Mon, 21 Jan 2002 21:57:55 +0000 (21:57 +0000)
committerJim Blandy <jimb@codesourcery.com>
Mon, 21 Jan 2002 21:57:55 +0000 (21:57 +0000)
commit39ad761d6d8e190fde168daeaa521cc17681ba3e
treedf7323cc4af0d589a5d9efc459194c0c5f0713a1
parent58255df39cc133d5e5f2eab79e22113c7fd0289f
* infcmd.c (run_command): Check that the `exec' target layer's BFD
is up-to-date before running the program, not just when a program
exits.

* testsuite/gdb.base/reread.exp: Check that GDB properly re-reads the
executable file when it changes while no inferior is running.
gdb/ChangeLog
gdb/infcmd.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/reread.exp