xref: /csrg-svn/include/stab.h (revision 61068)
147804Sbostic /*-
2*61068Sbostic  * Copyright (c) 1991, 1993
3*61068Sbostic  *	The Regents of the University of California.  All rights reserved.
421312Sdist  *
547804Sbostic  * %sccs.include.redist.c%
647804Sbostic  *
7*61068Sbostic  *	@(#)stab.h	8.1 (Berkeley) 06/02/93
821312Sdist  */
912194Ssam 
1012194Ssam /*
1147804Sbostic  * The following are symbols used by various debuggers and by the Pascal
1247804Sbostic  * compiler.  Each of them must have one (or more) of the bits defined by
1347804Sbostic  * the N_STAB mask set.
1412194Ssam  */
1512194Ssam 
1647804Sbostic #define	N_GSYM		0x20	/* global symbol */
1747804Sbostic #define	N_FNAME		0x22	/* F77 function name */
1847804Sbostic #define	N_FUN		0x24	/* procedure name */
1947804Sbostic #define	N_STSYM		0x26	/* data segment variable */
2047804Sbostic #define	N_LCSYM		0x28	/* bss segment variable */
2147804Sbostic #define	N_MAIN		0x2a	/* main function name */
2247804Sbostic #define	N_PC		0x30	/* global Pascal symbol */
2347804Sbostic #define	N_RSYM		0x40	/* register variable */
2447804Sbostic #define	N_SLINE		0x44	/* text segment line number */
2547804Sbostic #define	N_DSLINE	0x46	/* data segment line number */
2647804Sbostic #define	N_BSLINE	0x48	/* bss segment line number */
2747804Sbostic #define	N_SSYM		0x60	/* structure/union element */
2847804Sbostic #define	N_SO		0x64	/* main source file name */
2947804Sbostic #define	N_LSYM		0x80	/* stack variable */
3047804Sbostic #define	N_BINCL		0x82	/* include file beginning */
3147804Sbostic #define	N_SOL		0x84	/* included source file name */
3247804Sbostic #define	N_PSYM		0xa0	/* parameter variable */
3347804Sbostic #define	N_EINCL		0xa2	/* include file end */
3447804Sbostic #define	N_ENTRY		0xa4	/* alternate entry point */
3547804Sbostic #define	N_LBRAC		0xc0	/* left bracket */
3647804Sbostic #define	N_EXCL		0xc2	/* deleted include file */
3747804Sbostic #define	N_RBRAC		0xe0	/* right bracket */
3847804Sbostic #define	N_BCOMM		0xe2	/* begin common */
3947804Sbostic #define	N_ECOMM		0xe4	/* end common */
4047804Sbostic #define	N_ECOML		0xe8	/* end common (local name) */
4147804Sbostic #define	N_LENG		0xfe	/* length of preceding entry */
42