OSDN Git Service

* 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)
commit281ce0d77c9a2c193dbd571b419eafc6761166eb
tree24cb7c807d7650a0ca5fdff3abbe928150e71ed4
parentcd79d01e88d74eb5f16c6b77cd3e2386879ea849
* 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