aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/m68k
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-05-01 13:14:20 +0000
committerAndrew Cagney <cagney@redhat.com>2004-05-01 13:14:20 +0000
commit8c6b0e0607561669f0290799833e2a80a5978a81 (patch)
treeef1d31eecac1301dfef78cbff8dcbc4473c72cd5 /gdb/config/m68k
parent03ac2a74f949f0ff3796e2d0a083ac6d88e16c20 (diff)
downloadgdb-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/m68k')
-rw-r--r--gdb/config/m68k/tm-nbsd.h7
1 files changed, 4 insertions, 3 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"