* remote.c (remote_open_1): Reopen the exec file and reread symbols

if necessary.
This commit is contained in:
Daniel Jacobowitz
2004-03-23 15:14:02 +00:00
parent f561f02630
commit 00cac89514
2 changed files with 8 additions and 0 deletions

View 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);