* 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.
This commit is contained in:
Fred Fish 1996-10-03 17:05:00 +00:00
parent ae1b99e42d
commit 5bb23a95f4
4 changed files with 20 additions and 4 deletions

View File

@ -1,3 +1,13 @@
Wed Oct 2 22:07:16 1996 Fred Fish <fnf@cygnus.com>
* 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 <fnf@cygnus.com>
* defs.h: Remove define of PRIVATE_XMALLOC.

View File

@ -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. */

View File

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

View File

@ -1,3 +1,9 @@
Wed Oct 2 22:01:36 1996 Fred Fish <fnf@fishfood.ninemoons.com>
* 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 <fnf@cygnus.com>
From: Eberhard Mattes <mattes@azu.informatik.uni-stuttgart.de>