Fix VmExtractPeekDebugTrace();
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2018-08-28 11:17:32 +02:00
parent 603672b8e2
commit d97c0a6634
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
1 changed files with 1 additions and 1 deletions

View File

@ -1812,7 +1812,7 @@ PH7_PRIVATE sxi32 VmExtractDebugTrace(ph7_vm *pVm, SySet *pDebugTrace, sxbool bA
* This routine is used to dump the peek frame from debug stacktrace.
*/
PH7_PRIVATE sxi32 VmExtractPeekDebugTrace(ph7_vm *pVm, VmDebugTrace *pDebug) {
SySet *pTrace;
SySet pTrace;
/* Populate debug stacktrace */
if(VmExtractDebugTrace(&(*pVm), &pTrace, FALSE) != SXRET_OK || SySetGetNextEntry(&pTrace, (void **)&pDebug) != SXRET_OK) {
return SXERR_MEM;