* remote.c (remote_open_1): Reopen the exec file and reread symbols
authorDaniel Jacobowitz <drow@false.org>
Tue, 23 Mar 2004 15:14:02 +0000 (15:14 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 23 Mar 2004 15:14:02 +0000 (15:14 +0000)
if necessary.

gdb/ChangeLog
gdb/remote.c

index d717dd4b514ec3e14c7089946f9afa0aa5d89974..d62b3ed825ea488e1a4e8b9da3c0ccdf8f298ee0 100644 (file)
@@ -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
index a5cb2190a1ff15a45ff5aa88a6341e39b18a8b7d..e23a30f41279ae82dcd2db55569512dd6b3bddbb 100644 (file)
@@ -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);