From 5bb23a95f48dbc0b7f9a5342036b29b26bbbd5cc Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Thu, 3 Oct 1996 17:05:00 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 10 ++++++++++ gdb/config/i386/tm-i386os9k.h | 4 ++-- gdb/config/m68k/tm-nbsd.h | 4 ++-- gdb/doc/ChangeLog | 6 ++++++ 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d1cf1ba48f3..42abace1734 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,13 @@ +Wed Oct 2 22:07:16 1996 Fred Fish + + * 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. + Mon Sep 30 20:02:45 1996 Fred Fish * defs.h: Remove define of PRIVATE_XMALLOC. diff --git a/gdb/config/i386/tm-i386os9k.h b/gdb/config/i386/tm-i386os9k.h index 75de74e0b34..2b486419659 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 9a1d5797799..cc86cc8d4d2 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" diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 4ca01ba155f..cd4a0f72292 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,9 @@ +Wed Oct 2 22:01:36 1996 Fred Fish + + * gdbint.texinfo (SIGTRAMP_START, SIGTRAMP_END): Update + documentation to account for START and END macros taking + one arg. + Thu Aug 22 17:59:03 1996 Fred Fish From: Eberhard Mattes -- 2.30.2