|
|
1.1 root 1: #include "machine.h"
2: #include "mtype.h"
3: /*
4: * sdb/adb - common definitions for old srb style code
5: */
6:
7: #define MAXCOM 64
8: #define MAXARG 32
9: #define LINSIZ 512
10:
11: /*
12: * miscellaneous bournese
13: */
14: typedef char BOOL;
15: typedef char MSG[];
16:
17:
18: /*
19: * file address maps
20: * each open file has one per segment
21: * if b <= address <= e, address is valid in space type sp
22: * and may be found at address + f in the file
23: */
24:
25: #define NMAP 5 /* text data stack u-area endmarker */
26:
27: struct map {
28: ADDR b; /* base */
29: ADDR e; /* end */
30: ADDR f; /* offset within file */
31: int sp; /* type of space */
32: char *tag; /* name for the segment mapped */
33: };
34: typedef struct map MAP;
35:
36: struct bkpt {
37: ADDR loc;
38: WORD ins;
39: int count;
40: int initcnt;
41: int flag;
42: char comm[MAXCOM];
43: struct bkpt *nxtbkpt;
44: };
45: typedef struct bkpt BKPT;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.