* 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.
This commit is contained in:
Peter Schauer
1994-08-28 13:57:48 +00:00
parent b11fb93989
commit 46d185d3d1
7 changed files with 59 additions and 10 deletions

View File

@@ -392,6 +392,10 @@ add_shared_symbol_files ()
the symbols the user actually gets. */
lm = lms.l_prev;
}
/* Getting new symbols may change our opinion about what is
frameless. */
reinit_frame_cache ();
}
int target_is_m88110;