This commit is contained in:
parent
fb671ec2d7
commit
8f7b28d46c
@ -1832,10 +1832,9 @@ static sxi32 VmByteCodeDump(
|
||||
void *pUserData /* Last argument to xConsumer() */
|
||||
) {
|
||||
static const char zDump[] = {
|
||||
"====================================================\n"
|
||||
"PH7 VM Dump Copyright (C) 2011-2012 Symisc Systems\n"
|
||||
" http://www.symisc.net/\n"
|
||||
"====================================================\n"
|
||||
"===============================================================================================\n"
|
||||
" SEQ | INSTRUCTION | P1 | P2 | P3 | LINE | SOURCE FILE \n"
|
||||
"===============================================================================================\n"
|
||||
};
|
||||
VmInstr *pInstr, *pEnd;
|
||||
sxi32 rc = SXRET_OK;
|
||||
@ -1852,7 +1851,7 @@ static sxi32 VmByteCodeDump(
|
||||
break;
|
||||
}
|
||||
/* Format and call the consumer callback */
|
||||
rc = SyProcFormat(xConsumer, pUserData, "[%05u] %s %8d %8u %#10x %5u %z\n",
|
||||
rc = SyProcFormat(xConsumer, pUserData, " #%06u | %-10s | %8d | %8u | %#10x | %6u | %z\n",
|
||||
n, VmInstrToString(pInstr->iOp), pInstr->iP1, pInstr->iP2,
|
||||
SX_PTR_TO_INT(pInstr->p3), pInstr->iLine, pInstr->pFile);
|
||||
if(rc != SXRET_OK) {
|
||||
|
Loading…
Reference in New Issue
Block a user