xref: /original-bsd/old/sdb/machine.h (revision 2301fdfb)
1 /* "@(#)machine.h 4.2 08/17/82" */
2 /*
3  *	UNIX/vax debugger
4  */
5 
6 /* unix parameters */
7 #define DBNAME "adb\n"
8 #define LPRMODE "%R"
9 #define OFFMODE "+%R"
10 #define TXTRNDSIZ PAGSIZ
11 
12 TYPE	long TXTHDR[8];
13 TYPE	long SYMV;
14 
15 #ifndef vax
16 struct {short hiword; short loword;}; /* stupid fp-11 */
17 #endif
18 
19 /* symbol table in a.out file */
20 struct symtab {
21 	char	symc[8];
22 	char	symf;
23 	char	sympad[3];
24 	SYMV	symv;
25 };
26 #define SYMTABSIZ (sizeof (struct symtab))
27 
28 #define SYMCHK 057
29 #define SYMTYPE(symflg) (symflg&41 ? DSYM : NSYM)
30