N_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.

Values

ValueMeaning
N_GSYM0x20

global symbol: name,,NO_SECT,type,0

N_FNAME0x22

procedure name (f77 kludge): name,,NO_SECT,0,0

N_FUN0x24

procedure: name,,n_sect,linenumber,address

N_STSYM0x26

static symbol: name,,n_sect,type,address

N_LCSYM0x28

.lcomm symbol: name,,n_sect,type,address

N_BNSYM0x2e

begin nsect sym: 0,,n_sect,0,address

N_AST0x32

AST file path: name,,NO_SECT,0,0

N_OPT0x3c

emitted with gcc2_compiled and in gcc source

N_RSYM0x40

register sym: name,,NO_SECT,type,register

N_SLINE0x44

src line: 0,,n_sect,linenumber,address

N_ENSYM0x4e

end nsect sym: 0,,n_sect,0,address

N_SSYM0x60

structure elt: name,,NO_SECT,type,struct_offset

N_SO0x64

source file name: name,,n_sect,0,address

N_OSO0x66

Object file name: name,,(see below),0,st_mtime

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.

N_LSYM0x80

local sym: name,,NO_SECT,type,offset

N_BINCL0x82

include file beginning: name,,NO_SECT,0,sum

N_SOL0x84

#included file name: name,,n_sect,0,address

N_PARAMS0x86

compiler parameters: name,,NO_SECT,0,0

N_VERSION0x88

compiler version: name,,NO_SECT,0,0

N_OLEVEL0x8A

compiler -O level: name,,NO_SECT,0,0

N_PSYM0xa0

parameter: name,,NO_SECT,type,offset

N_EINCL0xa2

include file end: name,,NO_SECT,0,0

N_ENTRY0xa4

alternate entry: name,,n_sect,linenumber,address

N_LBRAC0xc0

left bracket: 0,,NO_SECT,nesting level,address

N_EXCL0xc2

deleted include file: name,,NO_SECT,0,sum

N_RBRAC0xe0

right bracket: 0,,NO_SECT,nesting level,address

N_BCOMM0xe2

begin common: name,,NO_SECT,0,0

N_ECOMM0xe4

end common: name,,n_sect,0,0

N_ECOML0xe8

end common (local name): 0,,n_sect,0,address

N_LENG0xfe

second stab entry with length information

N_PC0x30

global pascal symbol: name,,NO_SECT,subtype,line

Meta