11539Srgrimes/*- 21539Srgrimes * Copyright (c) 1991, 1993 31539Srgrimes * The Regents of the University of California. All rights reserved. 41539Srgrimes * 51539Srgrimes * Redistribution and use in source and binary forms, with or without 61539Srgrimes * modification, are permitted provided that the following conditions 71539Srgrimes * are met: 81539Srgrimes * 1. Redistributions of source code must retain the above copyright 91539Srgrimes * notice, this list of conditions and the following disclaimer. 101539Srgrimes * 2. Redistributions in binary form must reproduce the above copyright 111539Srgrimes * notice, this list of conditions and the following disclaimer in the 121539Srgrimes * documentation and/or other materials provided with the distribution. 13203964Simp * 3. Neither the name of the University nor the names of its contributors 141539Srgrimes * may be used to endorse or promote products derived from this software 151539Srgrimes * without specific prior written permission. 161539Srgrimes * 171539Srgrimes * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 181539Srgrimes * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 191539Srgrimes * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 201539Srgrimes * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 211539Srgrimes * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 221539Srgrimes * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 231539Srgrimes * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 241539Srgrimes * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 251539Srgrimes * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 261539Srgrimes * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 271539Srgrimes * SUCH DAMAGE. 281539Srgrimes * 291539Srgrimes * @(#)stab.h 8.1 (Berkeley) 6/2/93 30203964Simp * 31203964Simp * $FreeBSD$ 321539Srgrimes */ 331539Srgrimes 342162Spaul#ifndef _STAB_H_ 352162Spaul#define _STAB_H_ 362162Spaul 371539Srgrimes/* 381539Srgrimes * The following are symbols used by various debuggers and by the Pascal 391539Srgrimes * compiler. Each of them must have one (or more) of the bits defined by 401539Srgrimes * the N_STAB mask set. 411539Srgrimes */ 421539Srgrimes 431539Srgrimes#define N_GSYM 0x20 /* global symbol */ 441539Srgrimes#define N_FNAME 0x22 /* F77 function name */ 451539Srgrimes#define N_FUN 0x24 /* procedure name */ 461539Srgrimes#define N_STSYM 0x26 /* data segment variable */ 471539Srgrimes#define N_LCSYM 0x28 /* bss segment variable */ 481539Srgrimes#define N_MAIN 0x2a /* main function name */ 491539Srgrimes#define N_PC 0x30 /* global Pascal symbol */ 501539Srgrimes#define N_RSYM 0x40 /* register variable */ 511539Srgrimes#define N_SLINE 0x44 /* text segment line number */ 521539Srgrimes#define N_DSLINE 0x46 /* data segment line number */ 531539Srgrimes#define N_BSLINE 0x48 /* bss segment line number */ 541539Srgrimes#define N_SSYM 0x60 /* structure/union element */ 551539Srgrimes#define N_SO 0x64 /* main source file name */ 561539Srgrimes#define N_LSYM 0x80 /* stack variable */ 571539Srgrimes#define N_BINCL 0x82 /* include file beginning */ 581539Srgrimes#define N_SOL 0x84 /* included source file name */ 591539Srgrimes#define N_PSYM 0xa0 /* parameter variable */ 601539Srgrimes#define N_EINCL 0xa2 /* include file end */ 611539Srgrimes#define N_ENTRY 0xa4 /* alternate entry point */ 621539Srgrimes#define N_LBRAC 0xc0 /* left bracket */ 631539Srgrimes#define N_EXCL 0xc2 /* deleted include file */ 641539Srgrimes#define N_RBRAC 0xe0 /* right bracket */ 651539Srgrimes#define N_BCOMM 0xe2 /* begin common */ 661539Srgrimes#define N_ECOMM 0xe4 /* end common */ 671539Srgrimes#define N_ECOML 0xe8 /* end common (local name) */ 681539Srgrimes#define N_LENG 0xfe /* length of preceding entry */ 692162Spaul 702162Spaul#endif 71