diff options
author | Jim Blandy <jimb@codesourcery.com> | 2001-08-31 00:36:23 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2001-08-31 00:36:23 +0000 |
commit | 2889e661046068fe3d2ea7962a05ac05e5ba2123 (patch) | |
tree | 4e514255e2465352bcb78c1d8a82bc6b2f0964f8 /gdb/symfile.c | |
parent | 56f3b7d62304cd7e79e77cd60a83610d5ea63f57 (diff) | |
download | gdb-2889e661046068fe3d2ea7962a05ac05e5ba2123.zip gdb-2889e661046068fe3d2ea7962a05ac05e5ba2123.tar.gz gdb-2889e661046068fe3d2ea7962a05ac05e5ba2123.tar.bz2 |
* symfile.c (load_command): Invalidate the overlay cache.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index e20e6de..1bda72e 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -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 |