|
FreeBASIC
0.91.0
|
#include "fb.bi"#include "fbint.bi"#include "lex.bi"#include "ir.bi"#include "emit.bi"#include "emitdbg.bi"#include "stabs.bi"
Go to the source code of this file.
Data Structures | |
| class | EDBGCTX |
Functions | |
| sub | hDeclUDT (byval_as_FBSYMBOL_ptr sym) |
| sub | hDeclENUM (byval_as_FBSYMBOL_ptr sym) |
| function_as_string | hDeclPointer (byref_as_integer dtype) |
| function_as_string | hDeclArrayDims (byval_as_FBSYMBOL_ptr sym) |
| function_as_string | hGetDataType (byval_as_FBSYMBOL_ptr sym, byval_as_integer do_array_typing=FALSE) |
| sub | edbgInit () |
| private sub | hEmitSTABS (byval_as_integer _type, byval_as_const_zstring_ptr _string, byval_as_integer _other=0, byval_as_integer _desc=0, byval_as_const_zstring_ptr _value=@"0") |
| private function_as_zstring_ptr | hMakeSTABN (byval_as_integer _type, byval_as_integer _other=0, byval_as_integer _desc=0, byval_as_const_zstring_ptr _value=0) |
| private sub | hEmitSTABN (byval_as_integer _type, byval_as_integer _other=0, byval_as_integer _desc=0, byval_as_const_zstring_ptr _value=@"0") |
| private sub | hEmitSTABD (byval_as_integer _type, byval_as_integer _other=0, byval_as_integer _desc=0) |
| private sub | hLABEL (byval_as_zstring_ptr label) |
| sub | edbgEmitHeader (byval_as_zstring_ptr filename) |
| sub | edbgEmitFooter () |
| sub | edbgLineBegin (byval_as_FBSYMBOL_ptr proc, byval_as_integer lnum, byval_as_integer pos_) |
| sub | edbgLineEnd (byval_as_FBSYMBOL_ptr proc, byval_as_integer lnum, byval_as_integer pos_) |
| sub | edbgEmitLine (byval_as_FBSYMBOL_ptr proc, byval_as_integer lnum, byval_as_FBSYMBOL_ptr label) |
| sub | edbgEmitLineFlush (byval_as_FBSYMBOL_ptr proc, byval_as_integer lnum, byval_as_FBSYMBOL_ptr label) |
| sub | edbgScopeBegin (byval_as_FBSYMBOL_ptr s) |
| sub | edbgScopeEnd (byval_as_FBSYMBOL_ptr s) |
| sub | edbgEmitScopeINI (byval_as_FBSYMBOL_ptr s) |
| sub | edbgEmitScopeEND (byval_as_FBSYMBOL_ptr s) |
| sub | edbgProcBegin (byval_as_FBSYMBOL_ptr proc) |
| sub | edbgProcEnd (byval_as_FBSYMBOL_ptr proc) |
| sub | edbgProcEmitBegin (byval_as_FBSYMBOL_ptr proc) |
| private sub | hDeclArgs (byval_as_FBSYMBOL_ptr proc) |
| sub | edbgEmitProcHeader (byval_as_FBSYMBOL_ptr proc) |
| private sub | hDeclLocalVars (byval_as_FBSYMBOL_ptr proc, byval_as_FBSYMBOL_ptr blk, byval_as_FBSYMBOL_ptr inilabel, byval_as_FBSYMBOL_ptr endlabel) |
| sub | edbgEmitProcFooter (byval_as_FBSYMBOL_ptr proc, byval_as_FBSYMBOL_ptr initlabel, byval_as_FBSYMBOL_ptr exitlabel) |
| private function_as_string | hDeclUdtField (byval_as_FBSYMBOL_ptr fld, byval_as_zstring_ptr stypeopt=NULL, byval_as_zstring_ptr idprefix=NULL, byval_as_integer baseoffset=0) |
| private function_as_string | hDeclDynArray (byval_as_FBSYMBOL_ptr sym) |
| sub | edbgEmitGlobalVar (byval_as_FBSYMBOL_ptr sym, byval_as_integer section) |
| sub | edbgEmitLocalVar (byval_as_FBSYMBOL_ptr sym, byval_as_integer isstatic) |
| sub | edbgEmitProcArg (byval_as_FBSYMBOL_ptr sym) |
| sub | edbgInclude (byval_as_zstring_ptr incfile) |
Variables | |
| EDBGCTX | ctx |
| integer | remapTB [toFB_DATATYPES+1] = |
| const_zstring_ptr | stabsTb [to+1] = |
| sub edbgEmitFooter | ( | ) |
Definition at line 247 of file edbg_stab.bas.


| sub edbgEmitGlobalVar | ( | byval_as_FBSYMBOL_ptr | sym, |
| byval_as_integer | section | ||
| ) |
Definition at line 947 of file edbg_stab.bas.


| sub edbgEmitHeader | ( | byval_as_zstring_ptr | filename) |
Definition at line 207 of file edbg_stab.bas.


| sub edbgEmitLine | ( | byval_as_FBSYMBOL_ptr | proc, |
| byval_as_integer | lnum, | ||
| byval_as_FBSYMBOL_ptr | label | ||
| ) |
Definition at line 319 of file edbg_stab.bas.


| sub edbgEmitLineFlush | ( | byval_as_FBSYMBOL_ptr | proc, |
| byval_as_integer | lnum, | ||
| byval_as_FBSYMBOL_ptr | label | ||
| ) |
Definition at line 349 of file edbg_stab.bas.


| sub edbgEmitLocalVar | ( | byval_as_FBSYMBOL_ptr | sym, |
| byval_as_integer | isstatic | ||
| ) |
Definition at line 1018 of file edbg_stab.bas.


| sub edbgEmitProcArg | ( | byval_as_FBSYMBOL_ptr | sym) |
Definition at line 1075 of file edbg_stab.bas.


| sub edbgEmitProcFooter | ( | byval_as_FBSYMBOL_ptr | proc, |
| byval_as_FBSYMBOL_ptr | initlabel, | ||
| byval_as_FBSYMBOL_ptr | exitlabel | ||
| ) |
Definition at line 619 of file edbg_stab.bas.


| sub edbgEmitProcHeader | ( | byval_as_FBSYMBOL_ptr | proc) |
Definition at line 480 of file edbg_stab.bas.


| sub edbgEmitScopeEND | ( | byval_as_FBSYMBOL_ptr | s) |
Definition at line 416 of file edbg_stab.bas.


| sub edbgEmitScopeINI | ( | byval_as_FBSYMBOL_ptr | s) |
Definition at line 402 of file edbg_stab.bas.


| sub edbgInclude | ( | byval_as_zstring_ptr | incfile) |
Definition at line 1105 of file edbg_stab.bas.


| sub edbgInit | ( | ) |
| sub edbgLineBegin | ( | byval_as_FBSYMBOL_ptr | proc, |
| byval_as_integer | lnum, | ||
| byval_as_integer | pos_ | ||
| ) |
Definition at line 266 of file edbg_stab.bas.


| sub edbgLineEnd | ( | byval_as_FBSYMBOL_ptr | proc, |
| byval_as_integer | lnum, | ||
| byval_as_integer | pos_ | ||
| ) |
Definition at line 296 of file edbg_stab.bas.


| sub edbgProcBegin | ( | byval_as_FBSYMBOL_ptr | proc) |
| sub edbgProcEmitBegin | ( | byval_as_FBSYMBOL_ptr | proc) |
| sub edbgProcEnd | ( | byval_as_FBSYMBOL_ptr | proc) |
| sub edbgScopeBegin | ( | byval_as_FBSYMBOL_ptr | s) |
Definition at line 368 of file edbg_stab.bas.


| sub edbgScopeEnd | ( | byval_as_FBSYMBOL_ptr | s) |
Definition at line 385 of file edbg_stab.bas.


| private sub hDeclArgs | ( | byval_as_FBSYMBOL_ptr | proc) |
Definition at line 465 of file edbg_stab.bas.


| private function_as_string hDeclArrayDims | ( | byval_as_FBSYMBOL_ptr | sym) |
| private function_as_string hDeclDynArray | ( | byval_as_FBSYMBOL_ptr | sym) |
Definition at line 687 of file edbg_stab.bas.


| private sub hDeclENUM | ( | byval_as_FBSYMBOL_ptr | sym) |
Definition at line 918 of file edbg_stab.bas.


| private sub hDeclLocalVars | ( | byval_as_FBSYMBOL_ptr | proc, |
| byval_as_FBSYMBOL_ptr | blk, | ||
| byval_as_FBSYMBOL_ptr | inilabel, | ||
| byval_as_FBSYMBOL_ptr | endlabel | ||
| ) |
Definition at line 541 of file edbg_stab.bas.


| private function_as_string hDeclPointer | ( | byref_as_integer | dtype) |
| private sub hDeclUDT | ( | byval_as_FBSYMBOL_ptr | sym) |
Definition at line 891 of file edbg_stab.bas.


| private function_as_string hDeclUdtField | ( | byval_as_FBSYMBOL_ptr | fld, |
| byval_as_zstring_ptr | stypeopt = NULL, |
||
| byval_as_zstring_ptr | idprefix = NULL, |
||
| byval_as_integer | baseoffset = 0 |
||
| ) |
Definition at line 652 of file edbg_stab.bas.


| private sub hEmitSTABD | ( | byval_as_integer | _type, |
| byval_as_integer | _other = 0, |
||
| byval_as_integer | _desc = 0 |
||
| ) |
Definition at line 174 of file edbg_stab.bas.


| private sub hEmitSTABN | ( | byval_as_integer | _type, |
| byval_as_integer | _other = 0, |
||
| byval_as_integer | _desc = 0, |
||
| byval_as_const_zstring_ptr | _value = @"0" |
||
| ) |
Definition at line 160 of file edbg_stab.bas.


| private sub hEmitSTABS | ( | byval_as_integer | _type, |
| byval_as_const_zstring_ptr | _string, | ||
| byval_as_integer | _other = 0, |
||
| byval_as_integer | _desc = 0, |
||
| byval_as_const_zstring_ptr | _value = @"0" |
||
| ) |
Definition at line 109 of file edbg_stab.bas.


| private function_as_string hGetDataType | ( | byval_as_FBSYMBOL_ptr | sym, |
| byval_as_integer | do_array_typing = FALSE |
||
| ) |
Definition at line 804 of file edbg_stab.bas.


| private sub hLABEL | ( | byval_as_zstring_ptr | label) |
| private function_as_zstring_ptr hMakeSTABN | ( | byval_as_integer | _type, |
| byval_as_integer | _other = 0, |
||
| byval_as_integer | _desc = 0, |
||
| byval_as_const_zstring_ptr | _value = 0 |
||
| ) |
| EDBGCTX ctx |
Definition at line 53 of file edbg_stab.bas.
| integer remapTB[toFB_DATATYPES+1] = |
Definition at line 55 of file edbg_stab.bas.
| const_zstring_ptr stabsTb[to+1] = |
Definition at line 78 of file edbg_stab.bas.