diff options
Diffstat (limited to 'gdb/sh64-tdep.c')
-rw-r--r-- | gdb/sh64-tdep.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/sh64-tdep.c b/gdb/sh64-tdep.c index dbab7c0..25eb893 100644 --- a/gdb/sh64-tdep.c +++ b/gdb/sh64-tdep.c @@ -1408,8 +1408,7 @@ sh64_show_compact_regs (void) void sh64_show_regs (void) { - if (deprecated_selected_frame - && pc_is_isa32 (get_frame_pc (deprecated_selected_frame))) + if (pc_is_isa32 (get_frame_pc (get_selected_frame (NULL)))) sh64_show_media_regs (); else sh64_show_compact_regs (); |