* am29k-tdep.c (initialize_29k): Fix call_scratch_address doc.
[deliverable/binutils-gdb.git] / gdb / xm-m88k.h
1 /* Host-machine dependent parameters for Motorola 88000, for GDB.
2 Copyright 1986, 1987, 1988, 1989, 1990, 1991 Free Software Foundation, Inc.
3
4 This file is part of GDB.
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
19
20 #define HOST_BYTE_ORDER BIG_ENDIAN
21
22 #if !defined (USG)
23 #define USG 1
24 #endif
25
26 #include <sys/param.h>
27
28 #ifdef __GNUC__
29 #define memcpy __builtin_memcpy
30 /* gcc doesn't have this, at least not gcc 1.92. */
31 /* #define memset __builtin_memset */
32 #define strcmp __builtin_strcmp
33 #endif
34
35 #ifdef DGUX
36 #define x_foff _x_x._x_offset
37 #define x_fname _x_name
38 #define USER ptrace_user
39 #define _BSD_WAIT_FLAVOR
40 #endif
41
42 #define HAVE_TERMIO
43
44 #ifndef USIZE
45 #define USIZE 2048
46 #endif
47 #define NBPG NBPC
48 #define UPAGES USIZE
49
50 /* Get rid of any system-imposed stack limit if possible. */
51
52 #define SET_STACK_LIMIT_HUGE
53
54 /* This is the amount to subtract from u.u_ar0
55 to get the offset in the core file of the register values. */
56
57 /* Since registers r0 through r31 are stored directly in the struct ptrace_user,
58 (for m88k BCS)
59 the ptrace_user offsets are sufficient and KERNEL_U_ADDRESS can be 0 */
60
61 #define KERNEL_U_ADDR 0
62
This page took 0.031115 seconds and 4 git commands to generate.