mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 17:40:49 +00:00
* symfile.c (load_command): Invalidate the overlay cache.
This commit is contained in:
@@ -1154,6 +1154,10 @@ load_command (char *arg, int from_tty)
|
||||
if (arg == NULL)
|
||||
arg = get_exec_file (1);
|
||||
target_load (arg, from_tty);
|
||||
|
||||
/* After re-loading the executable, we don't really know which
|
||||
overlays are mapped any more. */
|
||||
overlay_cache_invalid = 1;
|
||||
}
|
||||
|
||||
/* This version of "load" should be usable for any target. Currently
|
||||
|
||||
Reference in New Issue
Block a user