diff options
author | Daniel Jacobowitz <dan@debian.org> | 2007-02-28 17:35:01 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2007-02-28 17:35:01 +0000 |
commit | 7e0f79c3da0a5950ad15a00a807907c715ab8175 (patch) | |
tree | 6d96c0f08f5a2d62fa546896f08d556a06ea35d1 /gdb/corelow.c | |
parent | 877dd1a1ae16375c8b7ee95ea0d6749ee11caff3 (diff) | |
download | gdb-7e0f79c3da0a5950ad15a00a807907c715ab8175.tar.gz |
* frame.c (frame_pop, frame_observer_target_changed): Call
reinit_frame_cache.
(flush_cached_frames): Rename to reinit_frame_cache and delete
old implementation.
* frame.h (flush_cached_frames): Delete prototype and update comment.
* bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call
reinit_frame_cache instead of flush_cached_frames. Do not call
select_frame after reinit_frame_cache.
* corelow.c (core_open): Likewise.
* gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise.
* infrun.c (prepare_to_proceed, context_switch)
(handle_inferior_event): Likewise.
* linux-fork.c (fork_load_infrun_state): Likewise.
* ocd.c (ocd_start_remote): Likewise.
* remote-e7000.c (e7000_start_remote): Likewise.
* remote-mips.c (device): Likewise.
* thread.c (switch_to_thread): Likewise.
* tracepoint.c (finish_tfind_command): Likewise.
* gdbarch.c: Regenerated.
Diffstat (limited to 'gdb/corelow.c')
-rw-r--r-- | gdb/corelow.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/corelow.c b/gdb/corelow.c index 586ac69afe0..267833e7b2b 100644 --- a/gdb/corelow.c +++ b/gdb/corelow.c @@ -378,8 +378,7 @@ core_open (char *filename, int from_tty) target_fetch_registers (-1); /* Now, set up the frame cache, and print the top of stack. */ - flush_cached_frames (); - select_frame (get_current_frame ()); + reinit_frame_cache (); print_stack_frame (get_selected_frame (NULL), 1, SRC_AND_LOC); } else |