28 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
29 |
* |
* |
30 |
* |
* |
31 |
* $Id: machine.h,v 1.157 2007/03/15 15:42:58 debug Exp $ |
* $Id: machine.h,v 1.162 2007/04/19 15:18:16 debug Exp $ |
32 |
*/ |
*/ |
33 |
|
|
34 |
#include <sys/types.h> |
#include <sys/types.h> |
35 |
#include <sys/time.h> |
#include <sys/time.h> |
36 |
|
|
|
#include "debugger_gdb.h" |
|
37 |
#include "symbol.h" |
#include "symbol.h" |
38 |
|
|
39 |
#include "machine_arc.h" |
#include "machine_arc.h" |
154 |
char *bootstr; |
char *bootstr; |
155 |
char *bootarg; |
char *bootarg; |
156 |
|
|
|
struct debugger_gdb gdb; |
|
|
|
|
157 |
/* Breakpoints: */ |
/* Breakpoints: */ |
158 |
int n_breakpoints; |
int n_breakpoints; |
159 |
char *breakpoint_string[MAX_BREAKPOINTS]; |
char *breakpoint_string[MAX_BREAKPOINTS]; |
230 |
#define ARCH_SPARC 3 |
#define ARCH_SPARC 3 |
231 |
#define ARCH_ALPHA 4 |
#define ARCH_ALPHA 4 |
232 |
#define ARCH_ARM 5 |
#define ARCH_ARM 5 |
233 |
#define ARCH_M68K 6 |
#define ARCH_SH 6 |
234 |
#define ARCH_SH 7 |
#define ARCH_AVR 7 |
235 |
#define ARCH_AVR 8 |
#define ARCH_M88K 8 |
|
#define ARCH_TRANSPUTER 9 |
|
|
#define ARCH_RCA180X 10 |
|
236 |
|
|
237 |
/* MIPS: */ |
/* MIPS: */ |
238 |
#define MACHINE_BAREMIPS 1000 |
#define MACHINE_BAREMIPS 1000 |
253 |
/* PPC: */ |
/* PPC: */ |
254 |
#define MACHINE_BAREPPC 2000 |
#define MACHINE_BAREPPC 2000 |
255 |
#define MACHINE_TESTPPC 2001 |
#define MACHINE_TESTPPC 2001 |
256 |
#define MACHINE_WALNUT 2002 |
#define MACHINE_PMPPC 2002 |
257 |
#define MACHINE_PMPPC 2003 |
#define MACHINE_SANDPOINT 2003 |
258 |
#define MACHINE_SANDPOINT 2004 |
#define MACHINE_BEBOX 2004 |
259 |
#define MACHINE_BEBOX 2005 |
#define MACHINE_PREP 2005 |
260 |
#define MACHINE_PREP 2006 |
#define MACHINE_MACPPC 2006 |
261 |
#define MACHINE_MACPPC 2007 |
#define MACHINE_MVMEPPC 2007 |
|
#define MACHINE_MVMEPPC 2008 |
|
262 |
|
|
263 |
/* SPARC: */ |
/* SPARC: */ |
264 |
#define MACHINE_BARESPARC 3000 |
#define MACHINE_BARESPARC 3000 |
280 |
#define MACHINE_SHARK 5006 |
#define MACHINE_SHARK 5006 |
281 |
#define MACHINE_IQ80321 5007 |
#define MACHINE_IQ80321 5007 |
282 |
#define MACHINE_IYONIX 5008 |
#define MACHINE_IYONIX 5008 |
283 |
#define MACHINE_TS7200 5009 |
#define MACHINE_QEMU_ARM 5009 |
|
#define MACHINE_QEMU_ARM 5010 |
|
|
|
|
|
/* M68K: */ |
|
|
#define MACHINE_BAREM68K 6000 |
|
|
#define MACHINE_TESTM68K 6001 |
|
284 |
|
|
285 |
/* SH: */ |
/* SH: */ |
286 |
#define MACHINE_BARESH 7000 |
#define MACHINE_BARESH 6000 |
287 |
#define MACHINE_TESTSH 7001 |
#define MACHINE_TESTSH 6001 |
288 |
#define MACHINE_HPCSH 7002 |
#define MACHINE_HPCSH 6002 |
289 |
#define MACHINE_DREAMCAST 7003 |
#define MACHINE_DREAMCAST 6003 |
290 |
#define MACHINE_LANDISK 7004 |
#define MACHINE_LANDISK 6004 |
291 |
|
|
292 |
/* AVR: */ |
/* AVR: */ |
293 |
#define MACHINE_BAREAVR 8000 |
#define MACHINE_BAREAVR 7000 |
294 |
#define MACHINE_AVR_PAL 8001 |
#define MACHINE_AVR_PAL 7001 |
295 |
#define MACHINE_AVR_MAHPONG 8002 |
#define MACHINE_AVR_MAHPONG 7002 |
296 |
|
|
297 |
/* TRANSPUTER: */ |
/* M88K: */ |
298 |
#define MACHINE_BARETRANSPUTER 9000 |
#define MACHINE_BAREM88K 8000 |
299 |
|
#define MACHINE_TESTM88K 8001 |
|
/* ARCH_RCA180X: */ |
|
|
#define MACHINE_BARE180X 10000 |
|
|
#define MACHINE_CHIP8 10001 |
|
300 |
|
|
301 |
/* Other "pseudo"-machines: */ |
/* Other "pseudo"-machines: */ |
302 |
#define MACHINE_NONE 0 |
#define MACHINE_NONE 0 |
355 |
/* EVBMIPS: */ |
/* EVBMIPS: */ |
356 |
#define MACHINE_EVBMIPS_MALTA 1 |
#define MACHINE_EVBMIPS_MALTA 1 |
357 |
#define MACHINE_EVBMIPS_MALTA_BE 2 |
#define MACHINE_EVBMIPS_MALTA_BE 2 |
|
#define MACHINE_EVBMIPS_MESHCUBE 3 |
|
|
#define MACHINE_EVBMIPS_PB1000 4 |
|
358 |
|
|
359 |
/* PReP: */ |
/* PReP: */ |
360 |
#define MACHINE_PREP_IBM6050 1 |
#define MACHINE_PREP_IBM6050 1 |