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