Commit | Line | Data |
---|---|---|
0748d941 AC |
1 | // OBSOLETE /* Definitions to make GDB run on a mips box under 4.3bsd. |
2 | // OBSOLETE Copyright 1986, 1987, 1989, 1993, 1996 Free Software Foundation, Inc. | |
3 | // OBSOLETE Contributed by Per Bothner(bothner@cs.wisc.edu) at U.Wisconsin | |
4 | // OBSOLETE and by Alessandro Forin(af@cs.cmu.edu) at CMU | |
5 | // OBSOLETE | |
6 | // OBSOLETE This file is part of GDB. | |
7 | // OBSOLETE | |
8 | // OBSOLETE This program is free software; you can redistribute it and/or modify | |
9 | // OBSOLETE it under the terms of the GNU General Public License as published by | |
10 | // OBSOLETE the Free Software Foundation; either version 2 of the License, or | |
11 | // OBSOLETE (at your option) any later version. | |
12 | // OBSOLETE | |
13 | // OBSOLETE This program is distributed in the hope that it will be useful, | |
14 | // OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | // OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | // OBSOLETE GNU General Public License for more details. | |
17 | // OBSOLETE | |
18 | // OBSOLETE You should have received a copy of the GNU General Public License | |
19 | // OBSOLETE along with this program; if not, write to the Free Software | |
20 | // OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, | |
21 | // OBSOLETE Boston, MA 02111-1307, USA. */ | |
22 | // OBSOLETE | |
23 | // OBSOLETE #ifndef NM_NEWS_MIPS_H | |
24 | // OBSOLETE #define NM_NEWS_MIPS_H 1 | |
25 | // OBSOLETE | |
26 | // OBSOLETE /* Needed for RISC NEWS core files. */ | |
27 | // OBSOLETE #include <machine/machparam.h> | |
28 | // OBSOLETE #include <sys/types.h> | |
29 | // OBSOLETE #define KERNEL_U_ADDR UADDR | |
30 | // OBSOLETE | |
31 | // OBSOLETE #define REGISTER_U_ADDR(addr, blockend, regno) \ | |
32 | // OBSOLETE if (regno < 38) addr = (NBPG*UPAGES) + (regno - 38)*sizeof(int);\ | |
33 | // OBSOLETE else addr = 0; /* ..somewhere in the pcb */ | |
34 | // OBSOLETE | |
35 | // OBSOLETE /* Kernel is a bit tenacious about sharing text segments, disallowing bpts. */ | |
36 | // OBSOLETE #define ONE_PROCESS_WRITETEXT | |
37 | // OBSOLETE | |
38 | // OBSOLETE #include "mips/nm-mips.h" | |
39 | // OBSOLETE | |
40 | // OBSOLETE /* Apparently not in <sys/types.h> */ | |
41 | // OBSOLETE typedef int pid_t; | |
42 | // OBSOLETE | |
43 | // OBSOLETE #endif /* NM_NEWS_MIPS_H */ |