xref: /original-bsd/old/adb/adb.vax/mode.h (revision 32fa3089)
1 /*	mode.h	4.3	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	long	ADDR;
12 TYPE	short	INT;
13 TYPE	int		VOID;
14 TYPE	long 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 
27 
28 /* file address maps */
29 struct map {
30 	L_INT	b1;
31 	L_INT	e1;
32 	L_INT	f1;
33 	L_INT	b2;
34 	L_INT	e2;
35 	L_INT	f2;
36 	INT	ufd;
37 };
38 
39 struct bkpt {
40 	ADDR	loc;
41 	ADDR	ins;
42 	INT	count;
43 	INT	initcnt;
44 	INT	flag;
45 	CHAR	comm[MAXCOM];
46 	BKPT	*nxtbkpt;
47 };
48 
49 TYPE	struct reglist	REGLIST;
50 TYPE	REGLIST		*REGPTR;
51 struct reglist {
52 	STRING	rname;
53 	INT	roffs;
54 	int	*rkern;
55 };
56