From 4eb588760e3843d075f911d7c095a8d7143338a6 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 27 Jun 2003 16:15:09 +0000 Subject: [PATCH] 2003-06-27 Andrew Cagney * m68hc11-tdep.c (m68hc11_call_dummy_address): Delete function. (m68hc11_gdbarch_init): Do not set call_dummy_address. * avr-tdep.c (avr_call_dummy_address): Delete function. (avr_gdbarch_init): Do not set call_dummy_address. --- gdb/ChangeLog | 7 +++++++ gdb/avr-tdep.c | 9 --------- gdb/m68hc11-tdep.c | 9 --------- 3 files changed, 7 insertions(+), 18 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3e454ddc088..d40e8cf8292 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2003-06-27 Andrew Cagney + + * m68hc11-tdep.c (m68hc11_call_dummy_address): Delete function. + (m68hc11_gdbarch_init): Do not set call_dummy_address. + * avr-tdep.c (avr_call_dummy_address): Delete function. + (avr_gdbarch_init): Do not set call_dummy_address. + 2003-06-27 Elena Zannoni * symfile.c (syms_from_objfile): Move variables to inner block. diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c index c5d6ffe769d..b060ea6732f 100644 --- a/gdb/avr-tdep.c +++ b/gdb/avr-tdep.c @@ -774,14 +774,6 @@ avr_scan_prologue (CORE_ADDR pc, struct avr_unwind_cache *info) return pc + avr_scan_arg_moves (vpc, prologue);; } -/* Returns the return address for a dummy. */ - -static CORE_ADDR -avr_call_dummy_address (void) -{ - return entry_point_address (); -} - static CORE_ADDR avr_skip_prologue (CORE_ADDR pc) { @@ -1339,7 +1331,6 @@ avr_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_extract_return_value (gdbarch, avr_extract_return_value); set_gdbarch_print_insn (gdbarch, print_insn_avr); - set_gdbarch_call_dummy_address (gdbarch, avr_call_dummy_address); set_gdbarch_push_dummy_call (gdbarch, avr_push_dummy_call); set_gdbarch_address_to_pointer (gdbarch, avr_address_to_pointer); diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c index f0f4ea59666..99903edd228 100644 --- a/gdb/m68hc11-tdep.c +++ b/gdb/m68hc11-tdep.c @@ -1049,14 +1049,6 @@ m68hc11_push_arguments (int nargs, } -/* Return a location where we can set a breakpoint that will be hit - when an inferior function call returns. */ -static CORE_ADDR -m68hc11_call_dummy_address (void) -{ - return entry_point_address (); -} - static struct type * m68hc11_register_virtual_type (int reg_nr) { @@ -1374,7 +1366,6 @@ m68hc11_gdbarch_init (struct gdbarch_info info, set_gdbarch_pseudo_register_read (gdbarch, m68hc11_pseudo_register_read); set_gdbarch_pseudo_register_write (gdbarch, m68hc11_pseudo_register_write); - set_gdbarch_call_dummy_address (gdbarch, m68hc11_call_dummy_address); set_gdbarch_deprecated_call_dummy_words (gdbarch, m68hc11_call_dummy_words); set_gdbarch_deprecated_sizeof_call_dummy_words (gdbarch, sizeof (m68hc11_call_dummy_words)); set_gdbarch_deprecated_get_saved_register (gdbarch, deprecated_generic_get_saved_register); -- 2.30.2