aboutsummaryrefslogtreecommitdiff
path: root/gdb/xm-tahoe.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-09-11 09:11:11 +0000
committerJohn Gilmore <gnu@cygnus>1992-09-11 09:11:11 +0000
commit3de61d8c53f4cd0aa568067130b7909c68f79272 (patch)
tree06e9a00b9179528005b985c0a13f2b1b974c3b8d /gdb/xm-tahoe.h
parenteb54a95a02cd1b0e1a7d96cfb7580c68551b976b (diff)
downloadgdb-3de61d8c53f4cd0aa568067130b7909c68f79272.zip
gdb-3de61d8c53f4cd0aa568067130b7909c68f79272.tar.gz
gdb-3de61d8c53f4cd0aa568067130b7909c68f79272.tar.bz2
* xm-mips.h (KERNEL_U_ADDR): Get from <machine/param.h>.
(REGISTER_U_ADDR): Fix up for Ultrix 4.2. * tm-tahoe.h, xm-tahoe.h (KERNEL_U_ADDR): Move macro to xm-tahoe.h. * stack.c (_initialize_stack): "dow" should be a valid abbreviation for "down". Suggested by Richard Stallman.
Diffstat (limited to 'gdb/xm-tahoe.h')
-rw-r--r--gdb/xm-tahoe.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/xm-tahoe.h b/gdb/xm-tahoe.h
index a28d69a..57a3b19 100644
--- a/gdb/xm-tahoe.h
+++ b/gdb/xm-tahoe.h
@@ -1,5 +1,5 @@
/* Definitions to make GDB hosted on a tahoe running 4.3-Reno
- Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
+ Copyright 1986, 1987, 1989, 1991, 1992 Free Software Foundation, Inc.
Contributed by the State University of New York at Buffalo, by the
Distributed Computer Systems Lab, Department of Computer Science, 1991.
@@ -32,6 +32,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define SET_STACK_LIMIT_HUGE
+/* This is the amount to subtract from u.u_ar0
+ to get the offset in the core file of the register values. */
+
+#define KERNEL_U_ADDR (0xc0000000 - (TARGET_UPAGES * TARGET_NBPG))
+
#define REGISTER_U_ADDR(addr, blockend, regno) \
{ addr = blockend - 100 + regno * 4; \
if (regno == PC_REGNUM) addr = blockend - 8; \