diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-10-29 20:23:17 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-10-29 20:23:17 +0000 |
commit | b04f3ab41782ec089e698e372f567bde75831438 (patch) | |
tree | 0a3b97a891dba140098c58f5313ca4b75fcbdb47 /gdb/sh-tdep.c | |
parent | 00b25ff323929eaa3b7ddaea20985a4174cf6381 (diff) | |
download | gdb-b04f3ab41782ec089e698e372f567bde75831438.zip gdb-b04f3ab41782ec089e698e372f567bde75831438.tar.gz gdb-b04f3ab41782ec089e698e372f567bde75831438.tar.bz2 |
2004-10-29 Andrew Cagney <cagney@gnu.org>
* frame.h (get_selected_frame): Add message parameter.
* frame.c (get_selected_frame): Add and use message parameter.
* stack.c (current_frame_command, return_command, locals_info)
(catch_info, args_info, up_silently_base, down_silently_base): Use
get_selected_frame with an explicit message.
* thread.c, stack.c, sh-tdep.c, sh64-tdep.c: Update.
* remote-rdp.c, remote-mips.c, remote-e7000.c: Update.
* ocd.c, mi/mi-main.c, mi/mi-cmd-stack.c: Update.
* infrun.c, inflow.c, infcmd.c, frame.c: Update.
* findvar.c, eval.c, corelow.c, bsd-kvm.c: Update.
* breakpoint.c: Update.
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r-- | gdb/sh-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index a745e44..e8d7c52 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -2033,7 +2033,7 @@ sh_do_fp_register (struct gdbarch *gdbarch, struct ui_file *file, int regnum) raw_buffer = (char *) alloca (register_size (gdbarch, FP0_REGNUM)); /* Get the data in raw format. */ - if (!frame_register_read (get_selected_frame (), regnum, raw_buffer)) + if (!frame_register_read (get_selected_frame (NULL), regnum, raw_buffer)) error ("can't read register %d (%s)", regnum, REGISTER_NAME (regnum)); /* Get the register as a number */ @@ -2071,7 +2071,7 @@ sh_do_register (struct gdbarch *gdbarch, struct ui_file *file, int regnum) print_spaces_filtered (15 - strlen (REGISTER_NAME (regnum)), file); /* Get the data in raw format. */ - if (!frame_register_read (get_selected_frame (), regnum, raw_buffer)) + if (!frame_register_read (get_selected_frame (NULL), regnum, raw_buffer)) fprintf_filtered (file, "*value not available*\n"); val_print (gdbarch_register_type (gdbarch, regnum), raw_buffer, 0, 0, |