diff options
Diffstat (limited to 'gdb/sun386-nat.c')
-rw-r--r-- | gdb/sun386-nat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/sun386-nat.c b/gdb/sun386-nat.c index 63f6752..767fe75 100644 --- a/gdb/sun386-nat.c +++ b/gdb/sun386-nat.c @@ -130,8 +130,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 (); |