diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-05-01 13:14:20 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-05-01 13:14:20 +0000 |
commit | 8c6b0e0607561669f0290799833e2a80a5978a81 (patch) | |
tree | ef1d31eecac1301dfef78cbff8dcbc4473c72cd5 /gdb/config | |
parent | 03ac2a74f949f0ff3796e2d0a083ac6d88e16c20 (diff) | |
download | gdb-8c6b0e0607561669f0290799833e2a80a5978a81.zip gdb-8c6b0e0607561669f0290799833e2a80a5978a81.tar.gz gdb-8c6b0e0607561669f0290799833e2a80a5978a81.tar.bz2 |
2004-05-01 Andrew Cagney <cagney@redhat.com>
* 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.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/m68k/tm-nbsd.h | 7 | ||||
-rw-r--r-- | gdb/config/vax/tm-vaxbsd.h | 9 |
2 files changed, 9 insertions, 7 deletions
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" diff --git a/gdb/config/vax/tm-vaxbsd.h b/gdb/config/vax/tm-vaxbsd.h index 16f08d4..d9c9746 100644 --- a/gdb/config/vax/tm-vaxbsd.h +++ b/gdb/config/vax/tm-vaxbsd.h @@ -1,6 +1,7 @@ /* Definitions to make GDB run on a vax under 4.2bsd. - Copyright 1986, 1987, 1989, 1991, 1993, 1994, 1996, 1998, 1999, 2000, 2002 - Free Software Foundation, Inc. + + Copyright 1986, 1987, 1989, 1991, 1993, 1994, 1996, 1998, 1999, + 2000, 2002, 2004 Free Software Foundation, Inc. This file is part of GDB. @@ -29,7 +30,7 @@ /* On the VAX, sigtramp is in the u area. Can't check the exact addresses because for cross-debugging we don't have VAX include files around. This should be close enough. */ -#define DEPRECATED_SIGTRAMP_START(pc) STACK_END_ADDR -#define DEPRECATED_SIGTRAMP_END(pc) 0x80000000 +#define DEPRECATED_IN_SIGTRAMP(PC,FUNC_NAME) \ +((PC) >= (STACK_END_ADDR) && (PC) < (0x80000000)) #endif /* TM_VAXBSD_H */ |