Improve release doc slightly.
[deliverable/binutils-gdb.git] / gdb / xm-tahoe.h
index d35d3d47f6603976ffec2f595db63a5f1d9c0840..57a3b19615b9acc9ab0968e66cf48cbcdd70264c 100644 (file)
@@ -1,31 +1,42 @@
 /* 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.
 
 This file is part of GDB.
 
-GDB is free software; you can redistribute it and/or modify
+This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 1, or (at your option)
-any later version.
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
 
-GDB is distributed in the hope that it will be useful,
+This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
-along with GDB; see the file COPYING.  If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
+along with this program; if not, write to the Free Software
+Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
-/*
- * Ported by the State University of New York at Buffalo by the Distributed
- * Computer Systems Lab, Department of Computer Science, 1991.
- */
+/* Make sure the system include files define BIG_ENDIAN, UINT_MAX, const,
+   etc, rather than GDB's files.  */
+#include <stdio.h>
+#include <sys/param.h>
+
+/* Host is big-endian */
+
+#define        HOST_BYTE_ORDER BIG_ENDIAN
 
 /* Get rid of any system-imposed stack limit if possible.  */
 
 #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;         \
This page took 0.024483 seconds and 4 git commands to generate.