aboutsummaryrefslogtreecommitdiff
path: root/gdb/avr-tdep.c
diff options
context:
space:
mode:
authorTheodore A. Roth <troth@openavr.org>2003-06-19 19:29:09 +0000
committerTheodore A. Roth <troth@openavr.org>2003-06-19 19:29:09 +0000
commitadcf68a2d64e0f5f199fd4ac30c7be99b37b033e (patch)
tree3bc70fdb2df601b0e76aaac78e95321cf694d92a /gdb/avr-tdep.c
parent8d64d0fdcac27d9aa914bfef11b31e7c0180a360 (diff)
downloadgdb-adcf68a2d64e0f5f199fd4ac30c7be99b37b033e.zip
gdb-adcf68a2d64e0f5f199fd4ac30c7be99b37b033e.tar.gz
gdb-adcf68a2d64e0f5f199fd4ac30c7be99b37b033e.tar.bz2
* avr-tdep.c (avr_push_dummy_code): Delete function.
(avr_gdbarch_init): Don't call set_gdbarch_push_dummy_code.
Diffstat (limited to 'gdb/avr-tdep.c')
-rw-r--r--gdb/avr-tdep.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c
index e1880d0..aef8cc6 100644
--- a/gdb/avr-tdep.c
+++ b/gdb/avr-tdep.c
@@ -1128,16 +1128,6 @@ avr_unwind_dummy_id (struct gdbarch *gdbarch, struct frame_info *next_frame)
return frame_id_build (avr_make_saddr (base), frame_pc_unwind (next_frame));
}
-static CORE_ADDR
-avr_push_dummy_code (struct gdbarch *gdbarch,
- CORE_ADDR sp, CORE_ADDR funaddr, int using_gcc,
- struct value **args, int nargs,
- struct type *value_type,
- CORE_ADDR *real_pc, CORE_ADDR *bp_addr)
-{
- fprintf_unfiltered (gdb_stderr, " ----->>>> push_dummy_code\n");
-}
-
/* When arguments must be pushed onto the stack, they go on in reverse
order. The below implements a FILO (stack) to do this. */
@@ -1357,7 +1347,6 @@ avr_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
set_gdbarch_call_dummy_address (gdbarch, avr_call_dummy_address);
set_gdbarch_push_dummy_call (gdbarch, avr_push_dummy_call);
- set_gdbarch_push_dummy_code (gdbarch, avr_push_dummy_code);
set_gdbarch_address_to_pointer (gdbarch, avr_address_to_pointer);
set_gdbarch_pointer_to_address (gdbarch, avr_pointer_to_address);