aboutsummaryrefslogtreecommitdiff
path: root/gdb/altos-xdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/altos-xdep.c')
-rw-r--r--gdb/altos-xdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/altos-xdep.c b/gdb/altos-xdep.c
index 4284860..effb49f 100644
--- a/gdb/altos-xdep.c
+++ b/gdb/altos-xdep.c
@@ -155,8 +155,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 ();
}