From 8c6b0e0607561669f0290799833e2a80a5978a81 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 1 May 2004 13:14:20 +0000 Subject: 2004-05-01 Andrew Cagney * gdbarch.sh (DEPRECATED_SIGTRAMP_START) (DEPRECATED_SIGTRAMP_END): Delete. * gdbarch.h, gdbarch.c: Re-generate. * arch-utils.c (legacy_pc_in_sigtramp): Simplify. * config/vax/tm-vaxbsd.h: Update copyright. (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete. (DEPRECATED_IN_SIGTRAMP): Define. * config/m68k/tm-nbsd.h: Update copyright. (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete. (DEPRECATED_IN_SIGTRAMP): Define. --- gdb/config/m68k/tm-nbsd.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gdb/config/m68k') diff --git a/gdb/config/m68k/tm-nbsd.h b/gdb/config/m68k/tm-nbsd.h index aba8639..04a5272 100644 --- a/gdb/config/m68k/tm-nbsd.h +++ b/gdb/config/m68k/tm-nbsd.h @@ -1,5 +1,6 @@ /* Macro definitions for m68k running under NetBSD. - Copyright 1994, 1996, 2001 Free Software Foundation, Inc. + + Copyright 1994, 1996, 2001, 2004 Free Software Foundation, Inc. This file is part of GDB. @@ -32,8 +33,8 @@ #define STACK_END_ADDR USRSTACK /* For NetBSD, sigtramp is 32 bytes before STACK_END_ADDR. */ -#define DEPRECATED_SIGTRAMP_START(pc) (STACK_END_ADDR - 32) -#define DEPRECATED_SIGTRAMP_END(pc) (STACK_END_ADDR) +#define DEPRECATED_IN_SIGTRAMP(PC,FUNC_NAME) \ +((PC) >= (STACK_END_ADDR - 32) && (PC) < (STACK_END_ADDR)) #include "m68k/tm-m68k.h" -- cgit v1.1