* 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.
This commit is contained in:
Richard Earnshaw
2002-01-30 16:35:51 +00:00
parent ca09e32bb2
commit 6eb69eab29
5 changed files with 45 additions and 17 deletions

View File

@@ -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