mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 02:20:51 +00:00
* symfile.c (load_command): Check for a changed executable before
"load".
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2006-06-13 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* symfile.c (load_command): Check for a changed executable before
|
||||
"load".
|
||||
|
||||
2006-06-13 Fred Fish <fnf@specifix.com>
|
||||
|
||||
* mips-tdep.c (mips_find_long_section): New function.
|
||||
|
||||
@@ -1500,6 +1500,11 @@ load_command (char *arg, int from_tty)
|
||||
}
|
||||
}
|
||||
|
||||
/* The user might be reloading because the binary has changed. Take
|
||||
this opportunity to check. */
|
||||
reopen_exec_file ();
|
||||
reread_symbols ();
|
||||
|
||||
target_load (arg, from_tty);
|
||||
|
||||
/* After re-loading the executable, we don't really know which
|
||||
|
||||
Reference in New Issue
Block a user