* 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

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