xref: /original-bsd/include/stab.h (revision c3e32dec)
1 /*-
2  * Copyright (c) 1991, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)stab.h	8.1 (Berkeley) 06/02/93
8  */
9 
10 /*
11  * The following are symbols used by various debuggers and by the Pascal
12  * compiler.  Each of them must have one (or more) of the bits defined by
13  * the N_STAB mask set.
14  */
15 
16 #define	N_GSYM		0x20	/* global symbol */
17 #define	N_FNAME		0x22	/* F77 function name */
18 #define	N_FUN		0x24	/* procedure name */
19 #define	N_STSYM		0x26	/* data segment variable */
20 #define	N_LCSYM		0x28	/* bss segment variable */
21 #define	N_MAIN		0x2a	/* main function name */
22 #define	N_PC		0x30	/* global Pascal symbol */
23 #define	N_RSYM		0x40	/* register variable */
24 #define	N_SLINE		0x44	/* text segment line number */
25 #define	N_DSLINE	0x46	/* data segment line number */
26 #define	N_BSLINE	0x48	/* bss segment line number */
27 #define	N_SSYM		0x60	/* structure/union element */
28 #define	N_SO		0x64	/* main source file name */
29 #define	N_LSYM		0x80	/* stack variable */
30 #define	N_BINCL		0x82	/* include file beginning */
31 #define	N_SOL		0x84	/* included source file name */
32 #define	N_PSYM		0xa0	/* parameter variable */
33 #define	N_EINCL		0xa2	/* include file end */
34 #define	N_ENTRY		0xa4	/* alternate entry point */
35 #define	N_LBRAC		0xc0	/* left bracket */
36 #define	N_EXCL		0xc2	/* deleted include file */
37 #define	N_RBRAC		0xe0	/* right bracket */
38 #define	N_BCOMM		0xe2	/* begin common */
39 #define	N_ECOMM		0xe4	/* end common */
40 #define	N_ECOML		0xe8	/* end common (local name) */
41 #define	N_LENG		0xfe	/* length of preceding entry */
42