1*30663Sbostic /* mode.h 4.3 87/03/22 */ 23772Sroot 33772Sroot #include "machine.h" 43772Sroot /* 53772Sroot * sdb/adb - common definitions for old srb style code 63772Sroot */ 73772Sroot 83772Sroot #define MAXCOM 64 93772Sroot #define MAXARG 32 10*30663Sbostic #define LINSIZ 1024 113772Sroot TYPE long ADDR; 123772Sroot TYPE short INT; 133772Sroot TYPE int VOID; 143772Sroot TYPE long int L_INT; 153772Sroot TYPE float REAL; 163772Sroot TYPE double L_REAL; 173772Sroot TYPE unsigned POS; 183772Sroot TYPE char BOOL; 193772Sroot TYPE char CHAR; 203772Sroot TYPE char *STRING; 213772Sroot TYPE char MSG[]; 223772Sroot TYPE struct map MAP; 233772Sroot TYPE MAP *MAPPTR; 243772Sroot TYPE struct bkpt BKPT; 253772Sroot TYPE BKPT *BKPTR; 263772Sroot 273772Sroot 283772Sroot /* file address maps */ 293772Sroot struct map { 303772Sroot L_INT b1; 313772Sroot L_INT e1; 323772Sroot L_INT f1; 333772Sroot L_INT b2; 343772Sroot L_INT e2; 353772Sroot L_INT f2; 363772Sroot INT ufd; 373772Sroot }; 383772Sroot 393772Sroot struct bkpt { 403772Sroot ADDR loc; 413772Sroot ADDR ins; 423772Sroot INT count; 433772Sroot INT initcnt; 443772Sroot INT flag; 453772Sroot CHAR comm[MAXCOM]; 463772Sroot BKPT *nxtbkpt; 473772Sroot }; 483772Sroot 493772Sroot TYPE struct reglist REGLIST; 503772Sroot TYPE REGLIST *REGPTR; 513772Sroot struct reglist { 523772Sroot STRING rname; 533772Sroot INT roffs; 543777Sroot int *rkern; 553772Sroot }; 56