diff options
author | Peter Schauer <Peter.Schauer@mytum.de> | 1994-08-28 13:57:48 +0000 |
---|---|---|
committer | Peter Schauer <Peter.Schauer@mytum.de> | 1994-08-28 13:57:48 +0000 |
commit | 46d185d3d1919b707dc3bea1f243bcec2843bffd (patch) | |
tree | baa81bdae6143cc896db7dc316ced19e9dd80abb /gdb/coff-solib.c | |
parent | b11fb93989a2d454f91f5856140404aef9e2a7fb (diff) | |
download | gdb-46d185d3d1919b707dc3bea1f243bcec2843bffd.zip gdb-46d185d3d1919b707dc3bea1f243bcec2843bffd.tar.gz gdb-46d185d3d1919b707dc3bea1f243bcec2843bffd.tar.bz2 |
* symfile.c (symbol_file_add): Move reinit_frame_cache call to
the callers of symbol_file_add. Gets rid of heuristic fence-post
warnings on mips and alpha targets when the PC resides in a shared
library which is not yet read in.
* coff-solib.c (coff_solib_add), cxux-nat.c (add_shared_symbol_files),
irix5-nat.c (solib_add), osfsolib.c (solib_add),
remote-vx.c (vx_open), solib.c (solib_add):
Add call to reinit_frame_cache after all shared libraries are read in.
* remote-udi.c (udi_load), remote-vx.c (vx_load_command),
symfile.c (symbol_file_command, add_symbol_file_command):
Add call to reinit_frame_cache after symbol_file_add.
Diffstat (limited to 'gdb/coff-solib.c')
-rw-r--r-- | gdb/coff-solib.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/coff-solib.c b/gdb/coff-solib.c index 697fdac..4b8ab00 100644 --- a/gdb/coff-solib.c +++ b/gdb/coff-solib.c @@ -20,6 +20,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "defs.h" +#include "frame.h" #include "bfd.h" #include "gdbcore.h" #include "symtab.h" @@ -97,6 +98,10 @@ coff_solib_add (arg_string, from_tty, target) libsize -= len * 4; lib += len * 4; } + + /* Getting new symbols may change our opinion about what is + frameless. */ + reinit_frame_cache (); } } |