mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-18 05:12:33 +08:00
* infcmd.c (attach_command): Reread symbols if we already have
an exec file.
This commit is contained in:
@ -1843,6 +1843,11 @@ attach_command (char *args, int from_tty)
|
||||
symbol_file_add_main (full_exec_path, from_tty);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
reopen_exec_file ();
|
||||
reread_symbols ();
|
||||
}
|
||||
|
||||
#ifdef SOLIB_ADD
|
||||
/* Add shared library symbols from the newly attached process, if any. */
|
||||
|
Reference in New Issue
Block a user