aboutsummaryrefslogtreecommitdiff
path: root/gdb/frv-tdep.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2003-08-13 21:59:20 +0000
committerMichael Snyder <msnyder@vmware.com>2003-08-13 21:59:20 +0000
commitaed7f26ad37b15e9e26d11b10b33d15276312df2 (patch)
treeabddffc1dc89bf8dc745f9910c9418d3fdeb401a /gdb/frv-tdep.c
parent752d4ac100f278240416392f38a713cdd92dada6 (diff)
downloadgdb-aed7f26ad37b15e9e26d11b10b33d15276312df2.zip
gdb-aed7f26ad37b15e9e26d11b10b33d15276312df2.tar.gz
gdb-aed7f26ad37b15e9e26d11b10b33d15276312df2.tar.bz2
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.
Diffstat (limited to 'gdb/frv-tdep.c')
-rw-r--r--gdb/frv-tdep.c19
1 files changed, 4 insertions, 15 deletions
diff --git a/gdb/frv-tdep.c b/gdb/frv-tdep.c
index e4dc885..82bd7e6 100644
--- a/gdb/frv-tdep.c
+++ b/gdb/frv-tdep.c
@@ -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;
}
-
+