|
GEL
0.99
|
Go to the source code of this file.
Data Structures | |
| struct | stab_t |
Macros | |
| #define | STABS_SECT_STAB ".stab" |
| #define | STABS_SECT_STABSTR ".stabstr" |
| #define | N_UNDF 0x00 /** Start of object file */ |
| #define | N_GSYM 0x20 /** Global symbol */ |
| #define | N_FUN 0x24 /** Function or procedure */ |
| #define | N_OUTL 0x25 /** Outlined function */ |
| #define | N_STSYM 0x26 /** Initialized static symbol */ |
| #define | N_TSTSYM 0x27 /** Initialized TLS static variable */ |
| #define | N_LCSYM 0x28 /** Unitialized static symbol */ |
| #define | N_MAIN 0x2a /** Name of main routine */ |
| #define | N_ROSYM 0x2c /** Read-only static symbol */ |
| #define | N_FLSYM 0x2e /** Global symbol */ |
| #define | N_TFLSYM 0x2f /** Global symbol */ |
| #define | N_CMDLINE 0x34 |
| #define | N_OBJ 0x38 /** Object file or path name */ |
| #define | N_OPT 0x3c /** Compiler options */ |
| #define | N_RSYM 0x40 /** Register symbol */ |
| #define | N_SLINE 0x44 /** Source line */ |
| #define | N_XLINE 0x45 /** Source line */ |
| #define | N_BROWS 0x48 /** Path to associated .cb file */ |
| #define | N_ILDPAD 0x4c /** Pad string table */ |
| #define | N_ENDM 0x62 /** End module */ |
| #define | N_SO 0x64 /** Compilation source file or path name */ |
| #define | N_MOD 0x66 /** Fortran 95 module begin */ |
| #define | N_EMOD 0x68 /** Fortran 95 module end */ |
| #define | N_READ_MOD 0x6a /** Fortran 95 use statement */ |
| #define | N_ALIAS 0x6c |
| #define | N_LSYM 0x80 /** Local symbol */ |
| #define | N_BINCL 0x82 /** Begin include file */ |
| #define | N_SOL 0x84 /** Included or referenced source file */ |
| #define | N_PSYM 0xa0 /** Formal parameter */ |
| #define | N_EINCL 0xa2 /** End of include file */ |
| #define | N_ENTRY 0xa4 /** Fortram alternate entry */ |
| #define | N_LBRAC 0xc0 /** Start of scope (left bracket) */ |
| #define | N_USING 0xc4 /** C++ USING statement */ |
| #define | N_ISYM 0xc6 /** Position independent type, internal */ |
| #define | N_ESYM 0xc8 /** Position independent type, external */ |
| #define | N_PATCH 0xd0 |
| #define | N_CONSTRUCT 0xd2 /** Constructor description */ |
| #define | N_DESTRUCT 0xd4 /** Destructor description */ |
| #define | N_CODETAG 0xd8 /** Code generation detail */ |
| #define | N_FUN_CHILD 0xd9 /** Created when a nesting relationship */ |
| #define | N_RBRAC 0xe0 /** End of scope (right bracket) */ |
| #define | N_BCOMM 0xe2 /** Begin common block */ |
| #define | N_TCOMM 0xe3 /** Begin task common block */ |
| #define | N_ECOMM 0xe4 /** End common block */ |
| #define | STABS_ERR_BASE (-256) |
| #define | STABS_ERR_NONE (-256) /** No STABS section found */ |
| #define | STABS_ERR_NOSTR (-258) /** No STABS string section */ |
| #define | STABS_ERR_NORES (-260) /** No more ressource */ |
| #define | STABS_ERR_FMT (-262) /** Format error */ |
Typedefs | |
| typedef struct stab_t | stab_t |
| typedef struct stabs_t | stabs_t |
Functions | |
| stabs_t * | stabs_new (gel_file_t *file) |
| void | stabs_delete (stabs_t *stabs) |
| const char * | stabs_strerror (void) |
| int | stabs_count (stabs_t *stabs) |
| stab_t * | stabs_item (stabs_t *stabs, int i) |
| gel_line_map_t * | stabs_new_line_map (gel_file_t *file) |
| #define N_ALIAS 0x6c |
| #define N_BCOMM 0xe2 /** Begin common block */ |
| #define N_BINCL 0x82 /** Begin include file */ |
| #define N_BROWS 0x48 /** Path to associated .cb file */ |
| #define N_CMDLINE 0x34 |
| #define N_CODETAG 0xd8 /** Code generation detail */ |
| #define N_CONSTRUCT 0xd2 /** Constructor description */ |
| #define N_DESTRUCT 0xd4 /** Destructor description */ |
| #define N_ECOMM 0xe4 /** End common block */ |
| #define N_EINCL 0xa2 /** End of include file */ |
| #define N_EMOD 0x68 /** Fortran 95 module end */ |
| #define N_ENDM 0x62 /** End module */ |
| #define N_ENTRY 0xa4 /** Fortram alternate entry */ |
| #define N_ESYM 0xc8 /** Position independent type, external */ |
| #define N_FLSYM 0x2e /** Global symbol */ |
| #define N_FUN 0x24 /** Function or procedure */ |
| #define N_FUN_CHILD 0xd9 /** Created when a nesting relationship */ |
| #define N_GSYM 0x20 /** Global symbol */ |
| #define N_ILDPAD 0x4c /** Pad string table */ |
| #define N_ISYM 0xc6 /** Position independent type, internal */ |
| #define N_LBRAC 0xc0 /** Start of scope (left bracket) */ |
| #define N_LCSYM 0x28 /** Unitialized static symbol */ |
| #define N_LSYM 0x80 /** Local symbol */ |
| #define N_MAIN 0x2a /** Name of main routine */ |
| #define N_MOD 0x66 /** Fortran 95 module begin */ |
| #define N_OBJ 0x38 /** Object file or path name */ |
| #define N_OPT 0x3c /** Compiler options */ |
| #define N_OUTL 0x25 /** Outlined function */ |
| #define N_PATCH 0xd0 |
| #define N_PSYM 0xa0 /** Formal parameter */ |
| #define N_RBRAC 0xe0 /** End of scope (right bracket) */ |
| #define N_READ_MOD 0x6a /** Fortran 95 use statement */ |
| #define N_ROSYM 0x2c /** Read-only static symbol */ |
| #define N_RSYM 0x40 /** Register symbol */ |
| #define N_SLINE 0x44 /** Source line */ |
| #define N_SO 0x64 /** Compilation source file or path name */ |
| #define N_SOL 0x84 /** Included or referenced source file */ |
| #define N_STSYM 0x26 /** Initialized static symbol */ |
| #define N_TCOMM 0xe3 /** Begin task common block */ |
| #define N_TFLSYM 0x2f /** Global symbol */ |
| #define N_TSTSYM 0x27 /** Initialized TLS static variable */ |
| #define N_UNDF 0x00 /** Start of object file */ |
| #define N_USING 0xc4 /** C++ USING statement */ |
| #define N_XLINE 0x45 /** Source line */ |
| #define STABS_ERR_BASE (-256) |
| #define STABS_ERR_FMT (-262) /** Format error */ |
| #define STABS_ERR_NONE (-256) /** No STABS section found */ |
| #define STABS_ERR_NORES (-260) /** No more ressource */ |
| #define STABS_ERR_NOSTR (-258) /** No STABS string section */ |
| #define STABS_SECT_STAB ".stab" |
| #define STABS_SECT_STABSTR ".stabstr" |
| typedef struct stabs_t stabs_t |
STABS module datastructure
| int stabs_count | ( | stabs_t * | stabs | ) |
Get the count of items in STABS.
| stabs | STABS handle. |
| void stabs_delete | ( | stabs_t * | stabs | ) |
Delete a STABS handler.
| stabs | STABS handler to delete. |
Get the item at the given index.
| stabs | STABS handle. |
| i | Index of the item. |
| stabs_t* stabs_new | ( | gel_file_t * | file | ) |
Open the STABS section of the given file.
| file | File to look in. |
| gel_line_map_t* stabs_new_line_map | ( | gel_file_t * | file | ) |
Build the line information.
| file | File containing the section. |
| const char* stabs_strerror | ( | void | ) |