2003-08-13 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Wed, 13 Aug 2003 21:59:20 +0000 (21:59 +0000)
committerMichael Snyder <msnyder@vmware.com>
Wed, 13 Aug 2003 21:59:20 +0000 (21:59 +0000)
        * frv-tdep.c (frv_push_arguments): Use deprecated ftype.
(frv_saved_pc_after_call): Use deprecated ftype.
        (stupid_useless_init_extra_frame_info): Remove orphan prototype.
(frv_remote_translate_xfer_address): Remove.
(frv_gdbarch_init): Use generic_remote_translate_xfer_address.

gdb/ChangeLog
gdb/frv-tdep.c

index f908cc55f3dd62b5414a6ed5ab2adb16fdd285e1..da22c718621145fc081c7c2aebcec386191d003d 100644 (file)
@@ -1,3 +1,11 @@
+2003-08-13  Michael Snyder  <msnyder@redhat.com>
+
+       * frv-tdep.c (frv_push_arguments): Use deprecated ftype.
+       (frv_saved_pc_after_call): Use deprecated ftype.
+       (stupid_useless_init_extra_frame_info): Remove orphan prototype.
+       (frv_remote_translate_xfer_address): Remove.
+       (frv_gdbarch_init): Use generic_remote_translate_xfer_address.
+
 2003-08-13  J. Brobecker  <brobecker@gnat.com>
 
        * hppa-tdep.c (hppa_gdbarch_init): Perform the ABI-specific gdbarch
index e4dc885276e21915e4b638f7e363750b46da947e..82bd7e6979db7ac1431082289098cb950c3c773b 100644 (file)
@@ -35,9 +35,8 @@ static gdbarch_skip_prologue_ftype frv_skip_prologue;
 static gdbarch_deprecated_extract_return_value_ftype frv_extract_return_value;
 static gdbarch_deprecated_extract_struct_value_address_ftype frv_extract_struct_value_address;
 static gdbarch_frameless_function_invocation_ftype frv_frameless_function_invocation;
-static gdbarch_init_extra_frame_info_ftype stupid_useless_init_extra_frame_info;
-static gdbarch_push_arguments_ftype frv_push_arguments;
-static gdbarch_saved_pc_after_call_ftype frv_saved_pc_after_call;
+static gdbarch_deprecated_push_arguments_ftype frv_push_arguments;
+static gdbarch_deprecated_saved_pc_after_call_ftype frv_saved_pc_after_call;
 
 static void frv_pop_frame_regular (struct frame_info *frame);
 
@@ -920,16 +919,6 @@ frv_pop_frame_regular (struct frame_info *frame)
   flush_cached_frames ();
 }
 
-
-static void
-frv_remote_translate_xfer_address (CORE_ADDR memaddr, int nr_bytes,
-                                  CORE_ADDR *targ_addr, int *targ_len)
-{
-  *targ_addr = memaddr;
-  *targ_len  = nr_bytes;
-}
-
-
 /* Hardware watchpoint / breakpoint support for the FR500
    and FR400.  */
 
@@ -1090,7 +1079,7 @@ frv_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   set_gdbarch_function_start_offset (gdbarch, 0);
 
   set_gdbarch_remote_translate_xfer_address
-    (gdbarch, frv_remote_translate_xfer_address);
+    (gdbarch, generic_remote_translate_xfer_address);
 
   /* Hardware watchpoint / breakpoint support.  */
   switch (info.bfd_arch_info->mach)
@@ -1128,4 +1117,4 @@ _initialize_frv_tdep (void)
   deprecated_tm_print_insn = print_insn_frv;
 }
 
-\f
+