#include <mach-o/stab.h>

mach-o/stab.h

$NetBSD: stab.h,v 1.4 1994/10/26 00:56:25 cgd Exp $
32 macros

macroN_GSYM

Symbolic debugger symbols. The comments give the conventional use for .stabs "n_name", n_type, n_sect, n_desc, n_value where n_type is the defined constant and not listed in the comment. Other fields not listed are zero. n_sect is the section ordinal the entry is refering to.
#define N_GSYM 0x20
global symbol: name,,NO_SECT,type,0

macroN_FNAME

#define N_FNAME 0x22
procedure name (f77 kludge): name,,NO_SECT,0,0

macroN_FUN

#define N_FUN 0x24
procedure: name,,n_sect,linenumber,address

macroN_STSYM

#define N_STSYM 0x26
static symbol: name,,n_sect,type,address

macroN_LCSYM

#define N_LCSYM 0x28
.lcomm symbol: name,,n_sect,type,address

macroN_BNSYM

#define N_BNSYM 0x2e
begin nsect sym: 0,,n_sect,0,address

macroN_AST

#define N_AST 0x32
AST file path: name,,NO_SECT,0,0

macroN_OPT

#define N_OPT 0x3c
emitted with gcc2_compiled and in gcc source

macroN_RSYM

#define N_RSYM 0x40
register sym: name,,NO_SECT,type,register

macroN_SLINE

#define N_SLINE 0x44
src line: 0,,n_sect,linenumber,address

macroN_ENSYM

#define N_ENSYM 0x4e
end nsect sym: 0,,n_sect,0,address

macroN_SSYM

#define N_SSYM 0x60
structure elt: name,,NO_SECT,type,struct_offset

macroN_SO

#define N_SO 0x64
source file name: name,,n_sect,0,address

macroN_OSO

#define N_OSO 0x66
object file name: name,,(see below),1,st_mtime

macroN_LIB

historically N_OSO set n_sect to 0. The N_OSO n_sect may instead hold the low byte of the cpusubtype value from the Mach-O header.
#define N_LIB 0x68
dynamic library file name: name,,NO_SECT,0,0

macroN_LSYM

#define N_LSYM 0x80
local sym: name,,NO_SECT,type,offset

macroN_BINCL

#define N_BINCL 0x82
include file beginning: name,,NO_SECT,0,sum

macroN_SOL

#define N_SOL 0x84
#included file name: name,,n_sect,0,address

macroN_PARAMS

#define N_PARAMS 0x86
compiler parameters: name,,NO_SECT,0,0

macroN_VERSION

#define N_VERSION 0x88
compiler version: name,,NO_SECT,0,0

macroN_OLEVEL

#define N_OLEVEL 0x8A
compiler -O level: name,,NO_SECT,0,0

macroN_PSYM

#define N_PSYM 0xa0
parameter: name,,NO_SECT,type,offset

macroN_EINCL

#define N_EINCL 0xa2
include file end: name,,NO_SECT,0,0

macroN_ENTRY

#define N_ENTRY 0xa4
alternate entry: name,,n_sect,linenumber,address

macroN_LBRAC

#define N_LBRAC 0xc0
left bracket: 0,,NO_SECT,nesting level,address

macroN_EXCL

#define N_EXCL 0xc2
deleted include file: name,,NO_SECT,0,sum

macroN_RBRAC

#define N_RBRAC 0xe0
right bracket: 0,,NO_SECT,nesting level,address

macroN_BCOMM

#define N_BCOMM 0xe2
begin common: name,,NO_SECT,0,0

macroN_ECOMM

#define N_ECOMM 0xe4
end common: name,,n_sect,0,0

macroN_ECOML

#define N_ECOML 0xe8
end common (local name): 0,,n_sect,0,address

macroN_LENG

#define N_LENG 0xfe
second stab entry with length information

macroN_PC

for the berkeley pascal compiler, pc(1):
#define N_PC 0x30
global pascal symbol: name,,NO_SECT,subtype,line