Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/usr.bin/gdb53/arch/m68k bring over the rest of the IN_SI...



details:   https://anonhg.NetBSD.org/src/rev/de51c3adab30
branches:  trunk
changeset: 553189:de51c3adab30
user:      chs <chs%NetBSD.org@localhost>
date:      Sun Oct 12 01:05:36 2003 +0000

description:
bring over the rest of the IN_SIGTRAMP() hack from the old gdb so that
gdb builds on the sun3.  jason sez "check that in, for now".

diffstat:

 gnu/usr.bin/gdb53/arch/m68k/tm.h |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (20 lines):

diff -r 82ac4235f017 -r de51c3adab30 gnu/usr.bin/gdb53/arch/m68k/tm.h
--- a/gnu/usr.bin/gdb53/arch/m68k/tm.h  Sun Oct 12 00:25:25 2003 +0000
+++ b/gnu/usr.bin/gdb53/arch/m68k/tm.h  Sun Oct 12 01:05:36 2003 +0000
@@ -29,12 +29,11 @@
 #define BPT_VECTOR             0xf
 #define REMOTE_BPT_VECTOR      0xf
 
-/* Address of end of stack space.  */
-#define STACK_END_ADDR USRSTACK
+/* For NetBSD, sigtramp is 32 bytes before STACK_END_ADDR,
+   but we don't know where that is until run-time!  */
 
-/* For NetBSD, sigtramp is 32 bytes before STACK_END_ADDR.  */
-#define SIGTRAMP_START(pc) (STACK_END_ADDR - 32)
-#define SIGTRAMP_END(pc) (STACK_END_ADDR)
+extern int nbsd_in_sigtramp(CORE_ADDR);
+#define IN_SIGTRAMP(pc, name) nbsd_in_sigtramp (pc)
 
 #include "m68k/tm-m68k.h"
 



Home | Main Index | Thread Index | Old Index