Commit | Line | Data |
---|---|---|
c906108c SS |
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 | ||
c5aa993b | 5 | This file is part of GDB. |
c906108c | 6 | |
c5aa993b JM |
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. | |
c906108c | 11 | |
c5aa993b JM |
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. | |
c906108c | 16 | |
c5aa993b JM |
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, | |
20 | Boston, MA 02111-1307, USA. */ | |
c906108c SS |
21 | |
22 | /* This machine is most significant byte first */ | |
23 | #define HOST_BYTE_ORDER BIG_ENDIAN | |
24 | ||
25 | /* This OS has the wait structure */ | |
26 | #define HAVE_WAIT_STRUCT | |
27 | ||
28 | #ifdef HOSTING_ONLY | |
29 | /* | |
30 | * This next two defines are to get GDB up and running as a host to | |
31 | * do remote debugging. I know there is a gdb for the RT, but there wasn't | |
32 | * an xconfig/rt* file. | |
33 | */ | |
c5aa993b | 34 | #define KERNEL_U_ADDR_BSD /* This may be correct, but hasn't been tested */ |
c906108c SS |
35 | #define REGISTER_U_ADDR(a,b,c) \ |
36 | (printf("GDB can not debug IBM RT/PC BSD executables (yet)\n"),\ | |
37 | quit(),0) | |
38 | #else | |
c5aa993b | 39 | #include "GDB for the RT is not included in the distribution" |
c906108c | 40 | #endif |