diff options
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r-- | gdb/infcmd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 911e865..df7d950 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -1651,7 +1651,8 @@ registers_info (char *addr_exp, int fpregs) /* A register name? */ { - int regnum = frame_map_name_to_regnum (start, end - start); + int regnum = frame_map_name_to_regnum (deprecated_selected_frame, + start, end - start); if (regnum >= 0) { gdbarch_print_registers_info (current_gdbarch, gdb_stdout, |