aboutsummaryrefslogtreecommitdiff
path: root/gdb/avr-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-06-27 16:15:09 +0000
committerAndrew Cagney <cagney@redhat.com>2003-06-27 16:15:09 +0000
commit4eb588760e3843d075f911d7c095a8d7143338a6 (patch)
treea5620aa4a2ec1324d70074b3445850934253fa37 /gdb/avr-tdep.c
parent1549f61969ead87d39a4ee3ddeda799a5d87e773 (diff)
downloadgdb-4eb588760e3843d075f911d7c095a8d7143338a6.zip
gdb-4eb588760e3843d075f911d7c095a8d7143338a6.tar.gz
gdb-4eb588760e3843d075f911d7c095a8d7143338a6.tar.bz2
2003-06-27 Andrew Cagney <cagney@redhat.com>
* 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.
Diffstat (limited to 'gdb/avr-tdep.c')
-rw-r--r--gdb/avr-tdep.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c
index c5d6ffe..b060ea6 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);