OSDN Git Service

2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
[pf3gnuchains/pf3gnuchains3x.git] / gdb / config / romp / xm-rtbsd.h
1 /* Definitions to host GDB on an IBM RT/PC running BSD Unix. 
2    Copyright 1986, 1987, 1989, 1991, 1992  Free Software Foundation, Inc.
3    Contributed by David Wood @ New York University (wood@lab.ultra.nyu.edu).
4
5 This file is part of GDB.
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
20
21 /* This machine is most significant byte first */
22 #define HOST_BYTE_ORDER BIG_ENDIAN
23
24 /* This OS has the wait structure */
25 #define HAVE_WAIT_STRUCT
26
27 #ifdef HOSTING_ONLY
28 /*
29  * This next two defines are to get GDB up and running as a host to
30  * do remote debugging.  I know there is a gdb for the RT, but there wasn't
31  * an xconfig/rt* file.  
32  */
33 #define KERNEL_U_ADDR_BSD  /* This may be correct, but hasn't been tested */
34 #define REGISTER_U_ADDR(a,b,c)     \
35         (printf("GDB can not debug IBM RT/PC BSD executables (yet)\n"),\
36         quit(),0)
37 #else
38 # include       "GDB for the RT is not included in the distribution" 
39 #endif
40