xref: /csrg-svn/old/adb/adb.vax/mode.h (revision 3772)
1*3772Sroot /*	mode.h	4.1	81/05/14	*/
2*3772Sroot 
3*3772Sroot #include "machine.h"
4*3772Sroot /*
5*3772Sroot  * sdb/adb - common definitions for old srb style code
6*3772Sroot  */
7*3772Sroot 
8*3772Sroot #define MAXCOM	64
9*3772Sroot #define MAXARG	32
10*3772Sroot #define LINSIZ	512
11*3772Sroot TYPE	long	ADDR;
12*3772Sroot TYPE	short	INT;
13*3772Sroot TYPE	int		VOID;
14*3772Sroot TYPE	long int	L_INT;
15*3772Sroot TYPE	float		REAL;
16*3772Sroot TYPE	double		L_REAL;
17*3772Sroot TYPE	unsigned	POS;
18*3772Sroot TYPE	char		BOOL;
19*3772Sroot TYPE	char		CHAR;
20*3772Sroot TYPE	char		*STRING;
21*3772Sroot TYPE	char		MSG[];
22*3772Sroot TYPE	struct map	MAP;
23*3772Sroot TYPE	MAP		*MAPPTR;
24*3772Sroot TYPE	struct bkpt	BKPT;
25*3772Sroot TYPE	BKPT		*BKPTR;
26*3772Sroot 
27*3772Sroot 
28*3772Sroot /* file address maps */
29*3772Sroot struct map {
30*3772Sroot 	L_INT	b1;
31*3772Sroot 	L_INT	e1;
32*3772Sroot 	L_INT	f1;
33*3772Sroot 	L_INT	b2;
34*3772Sroot 	L_INT	e2;
35*3772Sroot 	L_INT	f2;
36*3772Sroot 	INT	ufd;
37*3772Sroot };
38*3772Sroot 
39*3772Sroot struct bkpt {
40*3772Sroot 	ADDR	loc;
41*3772Sroot 	ADDR	ins;
42*3772Sroot 	INT	count;
43*3772Sroot 	INT	initcnt;
44*3772Sroot 	INT	flag;
45*3772Sroot 	CHAR	comm[MAXCOM];
46*3772Sroot 	BKPT	*nxtbkpt;
47*3772Sroot };
48*3772Sroot 
49*3772Sroot TYPE	struct reglist	REGLIST;
50*3772Sroot TYPE	REGLIST		*REGPTR;
51*3772Sroot struct reglist {
52*3772Sroot 	STRING	rname;
53*3772Sroot 	INT	roffs;
54*3772Sroot };
55