diff options
author | Richard Earnshaw <richard.earnshaw@arm.com> | 2002-01-30 16:35:51 +0000 |
---|---|---|
committer | Richard Earnshaw <richard.earnshaw@arm.com> | 2002-01-30 16:35:51 +0000 |
commit | 6eb69eab2909778dc96bdb5dbb83d7756bee4601 (patch) | |
tree | b4c7f14bb0afa196cafda483cab452d2b0378f24 /gdb/arm-linux-tdep.c | |
parent | ca09e32bb218843d120213458d387c84c185a187 (diff) | |
download | gdb-6eb69eab2909778dc96bdb5dbb83d7756bee4601.zip gdb-6eb69eab2909778dc96bdb5dbb83d7756bee4601.tar.gz gdb-6eb69eab2909778dc96bdb5dbb83d7756bee4601.tar.bz2 |
* arm-tdep.c (arm_call_dummy_words): Define.
* arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
* config/arm/tm-arm.h (CALL_DUMMY_P): Define.
(CALL_DUMMY_WORDS): Define.
(arm_call_dummy_words): Declare.
* config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
(arm_linux_call_dummy_words): Declare.
Diffstat (limited to 'gdb/arm-linux-tdep.c')
-rw-r--r-- | gdb/arm-linux-tdep.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c index 6522730..ff896d9 100644 --- a/gdb/arm-linux-tdep.c +++ b/gdb/arm-linux-tdep.c @@ -33,6 +33,20 @@ #include "symfile.h" #include "objfiles.h" +/* CALL_DUMMY_WORDS: + This sequence of words is the instructions + + mov lr, pc + mov pc, r4 + swi bkpt_swi + + Note this is 12 bytes. */ + +LONGEST arm_linux_call_dummy_words[] = +{ + 0xe1a0e00f, 0xe1a0f004, 0xef9f001 +}; + #ifdef GET_LONGJMP_TARGET /* Figure out where the longjmp will land. We expect that we have |