* configure.in, dbxread.c, hppa-coredep.c, hppa-pinsn.c,
[binutils-gdb.git] / gdb / xm-hppabsd.h
1 /* Parameters for execution on a Hewlett-Packard PA-RISC machine, running
2 HPUX or BSD.
3 Copyright (C) 1986, 1987, 1989, 1990, 1991 Free Software Foundation, Inc.
4
5 Contributed by the Center for Software Science at the
6 University of Utah (pa-gdb-bugs@cs.utah.edu).
7
8 This file is part of GDB.
9
10 GDB is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 1, or (at your option)
13 any later version.
14
15 GDB is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with GDB; see the file COPYING. If not, write to
22 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
23
24 /* Describe the endian nature of this machine. */
25 #define BITS_BIG_ENDIAN 1
26 #define BYTES_BIG_ENDIAN 1
27 #define WORDS_BIG_ENDIAN 1
28
29 /* Avoid "INT_MIN redefined" warnings -- by defining it here, exactly
30 the same as in the system <machine/machtypes.h> file. */
31 #undef INT_MIN
32 #define INT_MIN 0x80000000
33
34 #ifndef hp800
35 #define USG
36 #endif
37
38
39 #define PUSH_ARGUMENTS(nargs, args, sp, struct_return, struct_addr) \
40 sp = hp_push_arguments(nargs, args, sp, struct_return, struct_addr)
41
42 #define KERNEL_U_ADDR 0
43
44 /* What a coincidence! */
45 #define REGISTER_U_ADDR(addr, blockend, regno) \
46 { addr = (int)(blockend) + REGISTER_BYTE (regno);}
47
48
49 #define U_REGS_OFFSET 0