aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/vax
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/vax
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/vax')
-rw-r--r--gdb/config/vax/tm-vaxbsd.h9
1 files changed, 5 insertions, 4 deletions
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 */