1*30664Sbostic /* mode.h 1.2 87/03/22 */ 226415Ssam 326415Ssam #include "machine.h" 426415Ssam /* 526415Ssam * sdb/adb - common definitions for old srb style code 626415Ssam */ 726415Ssam 826415Ssam #define MAXCOM 64 926415Ssam #define MAXARG 32 10*30664Sbostic #define LINSIZ 1024 1126415Ssam TYPE unsigned ADDR; 1226415Ssam TYPE short INT; 1326415Ssam TYPE int VOID; 1426415Ssam TYPE int L_INT; 1526415Ssam TYPE float REAL; 1626415Ssam TYPE double L_REAL; 1726415Ssam TYPE unsigned POS; 1826415Ssam TYPE char BOOL; 1926415Ssam TYPE char CHAR; 2026415Ssam TYPE char *STRING; 2126415Ssam TYPE char MSG[]; 2226415Ssam TYPE struct map MAP; 2326415Ssam TYPE MAP *MAPPTR; 2426415Ssam TYPE struct bkpt BKPT; 2526415Ssam TYPE BKPT *BKPTR; 2626415Ssam TYPE int (*SIG)(); 2726415Ssam 2826415Ssam 2926415Ssam /* file address maps */ 3026415Ssam struct map { 3126415Ssam POS b1; 3226415Ssam POS e1; 3326415Ssam POS f1; 3426415Ssam POS b2; 3526415Ssam POS e2; 3626415Ssam POS f2; 3726415Ssam INT ufd; 3826415Ssam }; 3926415Ssam 4026415Ssam struct bkpt { 4126415Ssam ADDR loc; 4226415Ssam ADDR ins; 4326415Ssam INT count; 4426415Ssam INT initcnt; 4526415Ssam INT flag; 4626415Ssam CHAR comm[MAXCOM]; 4726415Ssam BKPT *nxtbkpt; 4826415Ssam }; 4926415Ssam 5026415Ssam TYPE struct reglist REGLIST; 5126415Ssam TYPE REGLIST *REGPTR; 5226415Ssam struct reglist { 5326415Ssam STRING rname; 5426415Ssam INT roffs; 5526415Ssam int *rkern; 5626415Ssam }; 57