diff options
author | Peter Schauer <Peter.Schauer@mytum.de> | 1994-01-07 21:02:39 +0000 |
---|---|---|
committer | Peter Schauer <Peter.Schauer@mytum.de> | 1994-01-07 21:02:39 +0000 |
commit | f0d2557ca41c45e3e39b5a1e9f92877f1f882005 (patch) | |
tree | 33dcfe50760dc29e1813978242e64a6694295a41 /gdb | |
parent | 9d51b3c5f4cffb73634deb26d68c741e8e800f93 (diff) | |
download | gdb-f0d2557ca41c45e3e39b5a1e9f92877f1f882005.zip gdb-f0d2557ca41c45e3e39b5a1e9f92877f1f882005.tar.gz gdb-f0d2557ca41c45e3e39b5a1e9f92877f1f882005.tar.bz2 |
* 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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/config/i386/tm-i386v.h | 2 | ||||
-rw-r--r-- | gdb/config/m68k/tm-m68k.h | 1 | ||||
-rw-r--r-- | gdb/config/mips/tm-mips.h | 2 | ||||
-rw-r--r-- | gdb/config/vax/tm-vax.h | 2 |
4 files changed, 7 insertions, 0 deletions
diff --git a/gdb/config/i386/tm-i386v.h b/gdb/config/i386/tm-i386v.h index 3f7d650..49de3a0 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 c7f64e0..9b830fd 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 5bc947f..5a56666 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 1671870..9f2b1e4 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. */ |