summaryrefslogtreecommitdiff
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
commit70cf748f4ae40f1f2ef09feb9c08dd979e60e83b (patch)
tree82ae1a1454780eed1ad968b7629b66cfe0d0b734 /gdb/config/vax
parente266fc021d57505c8df3b191431ebd90a3313667 (diff)
downloadgdb-70cf748f4ae40f1f2ef09feb9c08dd979e60e83b.tar.gz
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 16f08d44655..d9c97467ef2 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 */