diff options
author | Daniel Jacobowitz <drow@false.org> | 2004-03-23 15:14:02 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2004-03-23 15:14:02 +0000 |
commit | 00cac8951487f45a099be982387d593c5971de2c (patch) | |
tree | 23c8637e1869bd7c7b9293c92005d01be93552bf | |
parent | f561f0263002fbd950e66676a666ee5f46483841 (diff) | |
download | gdb-00cac8951487f45a099be982387d593c5971de2c.zip gdb-00cac8951487f45a099be982387d593c5971de2c.tar.gz gdb-00cac8951487f45a099be982387d593c5971de2c.tar.bz2 |
* remote.c (remote_open_1): Reopen the exec file and reread symbols
if necessary.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/remote.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d717dd4..d62b3ed 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-03-23 Daniel Jacobowitz <drow@mvista.com> + + * remote.c (remote_open_1): Reopen the exec file and reread symbols + if necessary. + 2004-03-23 Andrew Cagney <cagney@redhat.com> * gdbarch.sh (PC_IN_SIGTRAMP): Change to a function with diff --git a/gdb/remote.c b/gdb/remote.c index a5cb219..e23a30f 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -2164,6 +2164,9 @@ remote_open_1 (char *name, int from_tty, struct target_ops *target, if (!async_p) wait_forever_enabled_p = 1; + reopen_exec_file (); + reread_symbols (); + target_preopen (from_tty); unpush_target (target); |