* infcmd.c (attach_command): Reread symbols if we already have
an exec file.
This commit is contained in:
parent
f3b364276e
commit
63ed89b41d
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-03-23 Daniel Jacobowitz <drow@mvista.com>
|
||||||
|
|
||||||
|
* infcmd.c (attach_command): Reread symbols if we already have
|
||||||
|
an exec file.
|
||||||
|
|
||||||
2004-03-23 Andrew Cagney <cagney@redhat.com>
|
2004-03-23 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
* rs6000-tdep.c (frame_get_saved_regs): Delete unused function.
|
* rs6000-tdep.c (frame_get_saved_regs): Delete unused function.
|
||||||
|
|
|
@ -1843,6 +1843,11 @@ attach_command (char *args, int from_tty)
|
||||||
symbol_file_add_main (full_exec_path, from_tty);
|
symbol_file_add_main (full_exec_path, from_tty);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
reopen_exec_file ();
|
||||||
|
reread_symbols ();
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef SOLIB_ADD
|
#ifdef SOLIB_ADD
|
||||||
/* Add shared library symbols from the newly attached process, if any. */
|
/* Add shared library symbols from the newly attached process, if any. */
|
||||||
|
|
Loading…
Reference in a new issue