aboutsummaryrefslogtreecommitdiff
path: root/gdb/gould-xdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gould-xdep.c')
-rw-r--r--gdb/gould-xdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/gould-xdep.c b/gdb/gould-xdep.c
index e167f72..8b0060b 100644
--- a/gdb/gould-xdep.c
+++ b/gdb/gould-xdep.c
@@ -121,8 +121,7 @@ core_file_command (filename, from_tty)
corefile = concat (current_directory, "/", filename, NULL);
}
- set_current_frame ( create_new_frame (read_register (FP_REGNUM),
- read_pc ()));
+ flush_cached_frames ();
select_frame (get_current_frame (), 0);
validate_files ();
}