From 2403f49b376fd88066b676e92c95ca6f012f0e61 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Wed, 24 Apr 1991 16:56:40 +0000 Subject: * blockframe.c, frame.h (reinit_frame_cache): New function. solib.c (solib_add), symfile.c ({,add_}symbol_file_command): Use it. --- gdb/symfile.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gdb/symfile.c') diff --git a/gdb/symfile.c b/gdb/symfile.c index 395d730..5241959 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -511,6 +511,10 @@ symbol_file_command (name, from_tty) return; } + /* Getting new symbols may change our opinion about what is + frameless. */ + reinit_frame_cache (); + symbol_file_add (name, from_tty, (CORE_ADDR)0, 1); } @@ -610,6 +614,10 @@ add_symbol_file_command (args, from_tty) char *args; int from_tty; { + /* Getting new symbols may change our opinion about what is + frameless. */ + reinit_frame_cache (); + target_add_syms (args, from_tty); } -- cgit v1.1