From: Peter Schauer Date: Fri, 7 Jan 1994 21:02:39 +0000 (+0000) Subject: * config/i386/tm-i386v.h, config/m68k/tm-m68k.h, config/mips/tm-mips.h, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f0d2557ca41c45e3e39b5a1e9f92877f1f882005;p=binutils-gdb.git * config/i386/tm-i386v.h, config/m68k/tm-m68k.h, config/mips/tm-mips.h, config/vax/tm-vax.h (CALL_DUMMY_BREAKPOINT_OFFSET): Define. --- diff --git a/gdb/config/i386/tm-i386v.h b/gdb/config/i386/tm-i386v.h index 3f7d650e7cd..49de3a07712 100644 --- a/gdb/config/i386/tm-i386v.h +++ b/gdb/config/i386/tm-i386v.h @@ -265,6 +265,8 @@ i386_pop_frame PARAMS ((void)); #define CALL_DUMMY_START_OFFSET 0 /* Start execution at beginning of dummy */ +#define CALL_DUMMY_BREAKPOINT_OFFSET 5 + /* Insert the specified number of args and function address into a call sequence of the above form stored at DUMMYNAME. */ diff --git a/gdb/config/m68k/tm-m68k.h b/gdb/config/m68k/tm-m68k.h index c7f64e0415d..9b830fd2130 100644 --- a/gdb/config/m68k/tm-m68k.h +++ b/gdb/config/m68k/tm-m68k.h @@ -360,6 +360,7 @@ extern const struct ext_format ext_format_68881; #define CALL_DUMMY {0xf227e0ff, 0x48e7fffc, 0x426742e7, 0x4eb93232, 0x3232dffc, 0x69696969, (0x4e404e71 | (BPT_VECTOR << 16))} #define CALL_DUMMY_LENGTH 28 /* Size of CALL_DUMMY */ #define CALL_DUMMY_START_OFFSET 12 /* Offset to jsr instruction*/ +#define CALL_DUMMY_BREAKPOINT_OFFSET (CALL_DUMMY_START_OFFSET + 12) /* Insert the specified number of args and function address into a call sequence of the above form stored at DUMMYNAME. diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h index 5bc947f8827..5a56666318f 100644 --- a/gdb/config/mips/tm-mips.h +++ b/gdb/config/mips/tm-mips.h @@ -319,6 +319,8 @@ extern int in_sigtramp PARAMS ((CORE_ADDR, char *)); #define CALL_DUMMY_START_OFFSET 12 +#define CALL_DUMMY_BREAKPOINT_OFFSET (CALL_DUMMY_START_OFFSET + (12 * 4)) + /* Insert the specified number of args and function address into a call sequence of the above form stored at DUMMYNAME. */ diff --git a/gdb/config/vax/tm-vax.h b/gdb/config/vax/tm-vax.h index 16718707ad6..9f2b1e4cb52 100644 --- a/gdb/config/vax/tm-vax.h +++ b/gdb/config/vax/tm-vax.h @@ -321,6 +321,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define CALL_DUMMY_START_OFFSET 0 /* Start execution at beginning of dummy */ +#define CALL_DUMMY_BREAKPOINT_OFFSET 7 + /* Insert the specified number of args and function address into a call sequence of the above form stored at DUMMYNAME. */