|
|
1.1 root 1: /*
2: * db/i386/mdb.h
3: * A debugger.
4: * i386-specific header.
5: * i386/mdb.h contains definitions used by machine-independent code.
6: * i386/mdbdefs.h defines externals referenced by machine-independent code.
7: * i386/i386db.h contains definitions used only by machine-dependent code.
8: */
9:
10: #define MCHNAME "i386" /* machine name */
11:
12: /* Conditional compilation switches. */
13: #define NOCANON 1 /* no canonization code */
14: /* #define NOFP 1 if no FP desired */
15:
16: /* Types. */
17: typedef unsigned long ADDR_T; /* Target machine address */
18: typedef unsigned long WORD_T; /* Target word */
19: typedef char BIN[1]; /* Breakpoint instruction size */
20:
21: /*
22: * Constants.
23: */
24: #define MAX_ADDR ((ADDR_T)0xFFFFFFFFL) /* Maximum machine address */
25: #define MIN_ADDR ((ADDR_T)0) /* Minimum machine address */
26:
27: /*
28: * Formats.
29: */
30: #define INLEN 1 /* Size of smallest instruction */
31: #define ADDR_FMT "%08lX" /* Display address format */
32: #define ADDR16_FMT "%04lX" /* Display 16-bit address fmt */
33: #define DDCHR 'x' /* Default debugger format */
34:
35: /*
36: * Host sizeof(int), the byte count for ptrace() read/write calls.
37: */
38: #define PTSIZE 4
39:
40: /* end of db/i386/mdb.h */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.