aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-05-08 21:27:03 +0000
committerAndrew Cagney <cagney@redhat.com>2004-05-08 21:27:03 +0000
commit434b87dd7b401286a3ebddac38846833d419e1df (patch)
tree9171bd0ce6c7dcb6522a01ef83cccb23a7f76789 /gdb/arm-tdep.c
parent58d28df87ebbab754b83643ca128cb319366c935 (diff)
downloadgdb-434b87dd7b401286a3ebddac38846833d419e1df.zip
gdb-434b87dd7b401286a3ebddac38846833d419e1df.tar.gz
gdb-434b87dd7b401286a3ebddac38846833d419e1df.tar.bz2
2004-05-08 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_CALL_DUMMY_WORDS) (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Delete. * gdbarch.h, gdbarch.c: Re-generate. * arm-linux-tdep.c (arm_linux_call_dummy_words) (arm_linux_init_abi): Do not set deprecated_call_dummy_words or deprecated_sizeof_call_dummy_words. * arm-tdep.c (arm_call_dummy_words, arm_gdbarch_init): Ditto. * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. * v850-tdep.c (v850_gdbarch_init): Ditto. * sh64-tdep.c (sh64_gdbarch_init): Ditto. * ns32k-tdep.c (ns32k_call_dummy_words, ns32k_gdbarch_init): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * mcore-tdep.c (mcore_gdbarch_init): Ditto. * arch-utils.h (legacy_call_dummy_words) (legacy_sizeof_call_dummy_words): Delete declarations. * arch-utils.c (legacy_call_dummy_words) (legacy_sizeof_call_dummy_words): Delete variables. Index: doc/ChangeLog 2004-05-08 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Delete description of DEPRECATED_CALL_DUMMY_WORDS, DEPRECATED_SIZEOF_CALL_DUMMY_WORDS, and CALL_DUMMY.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r--gdb/arm-tdep.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 4caecb7..6606ad1 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -1173,20 +1173,6 @@ arm_unwind_sp (struct gdbarch *gdbarch, struct frame_info *this_frame)
return frame_unwind_register_unsigned (this_frame, ARM_SP_REGNUM);
}
-/* DEPRECATED_CALL_DUMMY_WORDS:
- This sequence of words is the instructions
-
- mov lr,pc
- mov pc,r4
- illegal
-
- Note this is 12 bytes. */
-
-static LONGEST arm_call_dummy_words[] =
-{
- 0xe1a0e00f, 0xe1a0f004, 0xe7ffdefe
-};
-
/* When arguments must be pushed onto the stack, they go on in reverse
order. The code below implements a FILO (stack) to do this. */
@@ -2724,9 +2710,6 @@ arm_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
tdep->lowest_pc = 0x20;
tdep->jb_pc = -1; /* Longjump support not enabled by default. */
- set_gdbarch_deprecated_call_dummy_words (gdbarch, arm_call_dummy_words);
- set_gdbarch_deprecated_sizeof_call_dummy_words (gdbarch, 0);
-
set_gdbarch_push_dummy_call (gdbarch, arm_push_dummy_call);
set_gdbarch_write_pc (gdbarch, arm_write_pc);