From dcccef2efbd4ebe18f8a0324076739fb619bd861 Mon Sep 17 00:00:00 2001 From: "Theodore A. Roth" Date: Fri, 20 Jun 2003 05:53:42 +0000 Subject: [PATCH] * avr-tdep.c (avr_frame_address): Delete function. (avr_gdbarch_init): Don't call set_gdbarch_frame_args_address, set_gdbarch_frame_args_address. --- gdb/ChangeLog | 6 ++++++ gdb/avr-tdep.c | 8 -------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 61bfa32c64c..db617059c70 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2003-06-19 Theodore A. Roth + + * avr-tdep.c (avr_frame_address): Delete function. + (avr_gdbarch_init): Don't call set_gdbarch_frame_args_address, + set_gdbarch_frame_args_address. + 2003-06-19 Andrew Cagney * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): Delete. diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c index a0f59c607db..aeb901f3117 100644 --- a/gdb/avr-tdep.c +++ b/gdb/avr-tdep.c @@ -817,12 +817,6 @@ avr_skip_prologue (CORE_ADDR pc) return prologue_end; } -static CORE_ADDR -avr_frame_address (struct frame_info *fi) -{ - return avr_make_saddr (get_frame_base (fi)); -} - /* Not all avr devices support the BREAK insn. Those that don't should treat it as a NOP. Thus, it should be ok. Since the avr is currently a remote only target, this shouldn't be a problem (I hope). TRoth/2003-05-14 */ @@ -1362,8 +1356,6 @@ avr_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_frame_args_skip (gdbarch, 0); set_gdbarch_frameless_function_invocation (gdbarch, frameless_look_for_prologue); - set_gdbarch_frame_args_address (gdbarch, avr_frame_address); - set_gdbarch_frame_locals_address (gdbarch, avr_frame_address); frame_unwind_append_predicate (gdbarch, avr_frame_p); frame_base_set_default (gdbarch, &avr_frame_base); -- 2.30.2