pike.git/
src/
interpret.c
Branch:
Tag:
Non-build tags
All tags
No tags
2011-05-17
2011-05-17 10:50:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>
41f3637499d6d72458e3e3f806da5d129a501894 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
Interpreter: Display the program pointer (not just the offset) when tracing byte-code instructions.
880:
while((f=STRCHR(file,'/'))) file=f+1; }
-
fprintf(stderr,"- %s:%4ld:(%"PRINTPTRDIFFT"d): "
+
fprintf(stderr,"- %s:%4ld:
%p
(%"PRINTPTRDIFFT"d): "
"%-25s %4"PRINTPTRDIFFT"d %4"PRINTPTRDIFFT"d\n", file ? file : "-",(long)linep,
-
Pike_fp->pc - Pike_fp->context->prog->program,
+
Pike_fp->pc
,
Pike_fp
-
>pc
-
Pike_fp->context->prog->program,
get_opcode_name(instr), Pike_sp-Pike_interpreter.evaluator_stack, Pike_mark_sp-Pike_interpreter.mark_stack);