Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | /* * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * The contents of this file constitute Original Code as defined in and * are subject to the Apple Public Source License Version 1.1 (the * "License"). You may not use this file except in compliance with the * License. Please obtain a copy of the License at * http://www.apple.com/publicsource and read it before using this file. * * This Original Code and all software distributed under the License are * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the * License for the specific language governing rights and limitations * under the License. * * @APPLE_LICENSE_HEADER_END@ */ /* * @OSF_COPYRIGHT@ */ /* * HISTORY * * Revision 1.1.1.1 1998/09/22 21:05:48 wsanchez * Import of Mac OS X kernel (~semeria) * * Revision 1.1.1.1 1998/03/07 02:26:09 wsanchez * Import of OSF Mach kernel (~mburg) * * Revision 1.1.11.2 1995/01/06 19:11:14 devrcs * mk6 CR668 - 1.3b26 merge * added N_FRAME, an extension to aout symtabs * for machines with non-self-describing frame formats * [1994/10/14 03:40:05 dwm] * * Revision 1.1.11.1 1994/09/23 01:23:47 ezf * change marker to not FREE * [1994/09/22 21:11:53 ezf] * * Revision 1.1.4.3 1993/07/27 18:28:44 elliston * Add ANSI prototypes. CR #9523. * [1993/07/27 18:13:49 elliston] * * Revision 1.1.4.2 1993/06/02 23:13:40 jeffc * Added to OSF/1 R1.3 from NMK15.0. * [1993/06/02 20:58:12 jeffc] * * Revision 1.1 1992/09/30 02:24:31 robert * Initial revision * * $EndLog$ */ /* CMU_HIST */ /* * Revision 2.2 91/10/09 16:05:28 af * Revision 2.1 91/10/05 13:02:42 jeffreyh * Created. * * Revision 2.1.1.1 91/10/05 13:03:14 jeffreyh * Initial MK63 checkin * * Revision 2.1.1.1 91/07/31 13:14:49 jeffreyh * Created from BSD network release #2 * [91/07/31 jeffreyh] * * */ /* CMU_ENDHIST */ /*- * Copyright (c) 1991 The Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the University of * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * @(#)stab.h 5.2 (Berkeley) 4/4/91 */ /* */ #ifndef _DDB_DB_STAB_H_ #define _DDB_DB_STAB_H_ /* * The following are symbols used by various debuggers and by the Pascal * compiler. Each of them must have one (or more) of the bits defined by * the N_STAB mask set. */ #define N_GSYM 0x20 /* global symbol */ #define N_FNAME 0x22 /* F77 function name */ #define N_FUN 0x24 /* procedure name */ #define N_STSYM 0x26 /* data segment variable */ #define N_LCSYM 0x28 /* bss segment variable */ #define N_MAIN 0x2a /* main function name */ #define N_PC 0x30 /* global Pascal symbol */ #define N_FRAME 0x34 /* stack frame descriptor */ #define N_RSYM 0x40 /* register variable */ #define N_SLINE 0x44 /* text segment line number */ #define N_DSLINE 0x46 /* data segment line number */ #define N_BSLINE 0x48 /* bss segment line number */ #define N_SSYM 0x60 /* structure/union element */ #define N_SO 0x64 /* main source file name */ #define N_LSYM 0x80 /* stack variable */ #define N_BINCL 0x82 /* include file beginning */ #define N_SOL 0x84 /* included source file name */ #define N_PSYM 0xa0 /* parameter variable */ #define N_EINCL 0xa2 /* include file end */ #define N_ENTRY 0xa4 /* alternate entry point */ #define N_LBRAC 0xc0 /* left bracket */ #define N_EXCL 0xc2 /* deleted include file */ #define N_RBRAC 0xe0 /* right bracket */ #define N_BCOMM 0xe2 /* begin common */ #define N_ECOMM 0xe4 /* end common */ #define N_ECOML 0xe8 /* end common (local name) */ #define N_LENG 0xfe /* length of preceding entry */ #endif /* !_DDB_DB_STAB_H_ */ |