new M_UNINSTALL macro
[deliverable/binutils-gdb.git] / gdb / config / m88k / xm-delta88.h
CommitLineData
5076de82
FF
1/* Host machine description for Motorola Delta 88 system, for GDB.
2 Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992
3 Free Software Foundation, Inc.
4
5This file is part of GDB.
6
7This program is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2 of the License, or
10(at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with this program; if not, write to the Free Software
19Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
20
21#define HOST_BYTE_ORDER BIG_ENDIAN
22
23#if !defined (USG)
24#define USG 1
25#endif
26
c9d8fc91
JK
27#define TIOCGETC_BROKEN 1
28#define TIOCGLTC_BROKEN 1
29
5076de82
FF
30#include <sys/param.h>
31#include <sys/time.h>
32
c9d8fc91
JK
33/* Required by <sys/ptrace.h>. */
34#include <sys/siginfo.h>
35
5076de82
FF
36#define HAVE_TERMIO
37
38/*#define USIZE 2048*/
c9d8fc91
JK
39/*#define NBPG NBPC*/
40/* Might be defined in <sys/param.h>. I suspect this define was a relic
41 from before when BFD did core files. */
42/* #define UPAGES USIZE */
5076de82
FF
43
44/* This is the amount to subtract from u.u_ar0
45 to get the offset in the core file of the register values. */
46
47/* Since registers r0 through r31 are stored directly in the struct ptrace_user,
48 (for m88k BCS)
49 the ptrace_user offsets are sufficient and KERNEL_U_ADDRESS can be 0 */
50
51#define KERNEL_U_ADDR 0
52
c9d8fc91
JK
53/* Like vprintf, but takes a a pointer to the args, laid out in order,
54 rather than a va_list. */
55/* Does this really work, or is it just enough to get this to compile? */
56#define VPRINTF(string, args) \
57 { \
58 __gnuc_va_list list; \
59 list.__va_arg = 0; \
60 list.__va_stk = (int *) args; \
61 list.__va_reg = (int *) args; \
62 vprintf (string, list); \
63 }
This page took 0.038408 seconds and 4 git commands to generate.