2004-02-05 18:49 UTC-0800 Luis Krause Mantilla

This commit is contained in:
Luis Krause
2004-02-06 02:48:38 +00:00
parent 6098b1027c
commit e2d9db659b
2 changed files with 30 additions and 5 deletions

View File

@@ -8,6 +8,13 @@
2002-12-01 23:12 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2004-02-05 18:49 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca>
* source/vm/debug.c
+ add wrappers (some 3rd-party-libs still use these ones) for:
__VMSTKGLIST()
__VMSTKGCOUNT()
Thanks Andi!
2004-01-30 15:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* source/pp/ppcore.c
* fixed compilation of &(exp) in normal stringify
@@ -27,14 +34,14 @@
2004-01-29 18:45 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca>
* source/vm/debug.c
+ add wrappers (some 3rd-party-libs still use these ones) for :
+ add wrappers (some 3rd-party-libs still use these ones) for:
__VMSTKLCOUNT()
__VMPARLLIST()
__VMSTKLLIST()
__VMVARLGET()
__VMVARLSET()
* source/vm/hvm.c
+ add wrappers (some 3rd-party-libs still use these ones) for :
+ add wrappers (some 3rd-party-libs still use these ones) for:
__VMVARSLIST()
__VMVARSLEN()
__VMVARSGET()

View File

@@ -97,13 +97,17 @@ static USHORT hb_stackLenGlobal( void )
return uiCount;
}
/* $Doc$
* $FuncName$ <nVars> hb_dbg_vmStkGCount()
* $Description$ Returns the length of the global stack
* $End$ */
HB_FUNC( HB_DBG_VMSTKGCOUNT )
{
hb_retni( hb_stackLenGlobal() );
}
/* $Doc$
* $FuncName$ <aStack> __vmStkGList()
* $FuncName$ <aStack> hb_dbg_vmStkGList()
* $Description$ Returns the global stack
* $End$ */
HB_FUNC( HB_DBG_VMSTKGLIST )
@@ -142,6 +146,10 @@ static USHORT hb_stackLen( int iLevel )
return uiCount;
}
/* $Doc$
* $FuncName$ <nVars> hb_dbg_vmStkLCount( <nProcLevel> )
* $Description$ Returns params plus locals amount of the nProcLevel function
* $End$ */
HB_FUNC( HB_DBG_VMSTKLCOUNT )
{
int iLevel = hb_parni( 1 ) + 1;
@@ -150,7 +158,7 @@ HB_FUNC( HB_DBG_VMSTKLCOUNT )
}
/* $Doc$
* $FuncName$ <aStack> __vmStkLList()
* $FuncName$ <aStack> hb_dbg_vmStkLList()
* $Description$ Returns the stack of the calling function
* "[<symbol>]" Means symbol.
*
@@ -178,7 +186,7 @@ HB_FUNC( HB_DBG_VMSTKLLIST )
}
/* $Doc$
* $FuncName$ <aParam> __vmParLGet()
* $FuncName$ <aParam> hb_dbg_vmParLGet()
* $Description$ Returns the passed parameters of the calling function
* $End$ */
/* TODO : put bLocals / bParams */
@@ -276,3 +284,13 @@ HB_FUNC( __VMVARLSET )
{
HB_FUNCNAME(HB_DBG_VMVARLSET)();
}
HB_FUNC( __VMSTKGLIST )
{
HB_FUNCNAME(HB_DBG_VMSTKGLIST)();
}
HB_FUNC( __VMSTKGCOUNT )
{
HB_FUNCNAME(HB_DBG_VMSTKGCOUNT)();
}