|
|
1.1 root 1: /* mode.h 1.2 87/03/22 */
2:
3: #include "machine.h"
4: /*
5: * sdb/adb - common definitions for old srb style code
6: */
7:
8: #define MAXCOM 64
9: #define MAXARG 32
10: #define LINSIZ 1024
11: TYPE unsigned ADDR;
12: TYPE short INT;
13: TYPE int VOID;
14: TYPE int L_INT;
15: TYPE float REAL;
16: TYPE double L_REAL;
17: TYPE unsigned POS;
18: TYPE char BOOL;
19: TYPE char CHAR;
20: TYPE char *STRING;
21: TYPE char MSG[];
22: TYPE struct map MAP;
23: TYPE MAP *MAPPTR;
24: TYPE struct bkpt BKPT;
25: TYPE BKPT *BKPTR;
26: TYPE int (*SIG)();
27:
28:
29: /* file address maps */
30: struct map {
31: POS b1;
32: POS e1;
33: POS f1;
34: POS b2;
35: POS e2;
36: POS f2;
37: INT ufd;
38: };
39:
40: struct bkpt {
41: ADDR loc;
42: ADDR ins;
43: INT count;
44: INT initcnt;
45: INT flag;
46: CHAR comm[MAXCOM];
47: BKPT *nxtbkpt;
48: };
49:
50: TYPE struct reglist REGLIST;
51: TYPE REGLIST *REGPTR;
52: struct reglist {
53: STRING rname;
54: INT roffs;
55: int *rkern;
56: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.