* inflow.c (generic_mourn_inferior): Call reinit_frame_cache
authorJim Kingdon <jkingdon@engr.sgi.com>
Thu, 30 Sep 1993 21:42:23 +0000 (21:42 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Thu, 30 Sep 1993 21:42:23 +0000 (21:42 +0000)
commit2289e1c30be68c24c6b4e110773296928ecc4fe1
treed83e268cf748c47709fa83f1cbc98c79fdf73b94
parentc5198d937809755e1893f84a78d795b49aaaca56
* inflow.c (generic_mourn_inferior): Call reinit_frame_cache
instead of doing it ourself.
* blockframe.c (reinit_frame_cache): Use code which was in
generic_mourn_inferior so we can use this function even when
we have switched targets.
* corelow.c (core_detach): Call reinit_frame_cache.
* target.c (target_detach): Don't call generic_mourn_inferior
(revert yesterday's change, now handled by core_detach).
* objfiles.c (free_objfile): Detach any core file if we call
SOLIB_CLEAR.  #include target.h.
gdb/ChangeLog
gdb/blockframe.c