mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
Fixed JMPZNZ instruction printing
This commit is contained in:
parent
da6e286dbb
commit
1a9f4f90da
@ -87,7 +87,7 @@ char *phpdbg_decode_opline(zend_op_array *ops, zend_op *op, HashTable *vars) /*{
|
||||
switch (op->opcode) {
|
||||
/* TODO: ZEND_FAST_CALL, ZEND_FAST_RET op2 */
|
||||
case ZEND_JMPZNZ:
|
||||
asprintf(&decode[2], "J%u or J%" PRIu32, op->op2.opline_num, op->extended_value);
|
||||
asprintf(&decode[2], "J%u or J%" PRIu32, OP_JMP_ADDR(op, op->op2) - ops->opcodes, ZEND_OFFSET_TO_OPLINE(op, op->extended_value) - ops->opcodes);
|
||||
break;
|
||||
|
||||
case ZEND_JMPZ:
|
||||
|
Loading…
Reference in New Issue
Block a user