* UNIX debugger - common definitions
/* Layout of a.out file (fsym):
* header of 8 words magic number 405, 407, 410, 411
* data size ) in bytes but even
* flag set if no relocation
* relocation: 16+textsize+datasize
* symbol table: 16+2*(textsize+datasize) or 16+textsize+datasize
#define COREMAGIC 0140000
#define FROFF (&(0->fpsr))
/* long to ints and back (puns) */
#define leng(a) ((long)((unsigned)(a)))
#define shorten(a) ((int)(a))
#define itol(a,b) (itolws.I[0]=(a), itolws.I[1]=(b), itolws.L)
/* result type declarations */
typedef struct sgttyb TTY
;