diff options
author | Fred Fish <fnf@specifix.com> | 1996-10-03 17:05:00 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1996-10-03 17:05:00 +0000 |
commit | 5bb23a95f48dbc0b7f9a5342036b29b26bbbd5cc (patch) | |
tree | 346048b9207fedebf7738e0b712cb8be081dd310 /gdb/config | |
parent | ae1b99e42dbce238cd7eb5efd38672b8306f1148 (diff) | |
download | gdb-5bb23a95f48dbc0b7f9a5342036b29b26bbbd5cc.zip gdb-5bb23a95f48dbc0b7f9a5342036b29b26bbbd5cc.tar.gz gdb-5bb23a95f48dbc0b7f9a5342036b29b26bbbd5cc.tar.bz2 |
* inferior.h (IN_SIGTRAMP): Pass pc to SIGTRAMP_START and
SIGTRAMP_END.
* config/i386/tm-i386os9k.h (SIGTRAMP_START, SIGTRAMP_END):
Define with dummy pc arg.
* config/m68k/tm-nbsd.h: Ditto.
* doc/gdbint.texinfo: Document that SIGTRAMP_START and
SIGTRAMP_END are macros that take an single argument.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/i386/tm-i386os9k.h | 4 | ||||
-rw-r--r-- | gdb/config/m68k/tm-nbsd.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gdb/config/i386/tm-i386os9k.h b/gdb/config/i386/tm-i386os9k.h index 75de74e..2b48641 100644 --- a/gdb/config/i386/tm-i386os9k.h +++ b/gdb/config/i386/tm-i386os9k.h @@ -50,8 +50,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* On 386 bsd, sigtramp is above the user stack and immediately below the user area. Using constants here allows for cross debugging. These are tested for BSDI but should work on 386BSD. */ -#define SIGTRAMP_START 0xfdbfdfc0 -#define SIGTRAMP_END 0xfdbfe000 +#define SIGTRAMP_START(pc) 0xfdbfdfc0 +#define SIGTRAMP_END(pc) 0xfdbfe000 /* Saved Pc. Get it from sigcontext if within sigtramp. */ diff --git a/gdb/config/m68k/tm-nbsd.h b/gdb/config/m68k/tm-nbsd.h index 9a1d579..cc86cc8 100644 --- a/gdb/config/m68k/tm-nbsd.h +++ b/gdb/config/m68k/tm-nbsd.h @@ -32,8 +32,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define STACK_END_ADDR USRSTACK /* For NetBSD, sigtramp is 32 bytes before STACK_END_ADDR. */ -#define SIGTRAMP_START (STACK_END_ADDR - 32) -#define SIGTRAMP_END (STACK_END_ADDR) +#define SIGTRAMP_START(pc) (STACK_END_ADDR - 32) +#define SIGTRAMP_END(pc) (STACK_END_ADDR) #include "m68k/tm-m68k.h" #include "tm-nbsd.h" |