retro.c: verbose log output to /dev/stderr instead of /dev/stdout

FossilOrigin-Name: ee4e016fdd459a308ac6c564bc11a45662101fdf4a38b841e84b1568393e7829
This commit is contained in:
crc 2023-10-10 09:53:01 +00:00
parent 490fd83cb0
commit bc30a15534

View file

@ -1589,11 +1589,11 @@ int validate_opcode_bundle(CELL opcode) {
}
void verbose_details(NgaState *vm, CELL opcode) {
printf("ip: %lld ", vm->cpu[vm->active].ip);
printf("sp: %lld ", vm->cpu[vm->active].sp);
printf("rp: %lld ", vm->cpu[vm->active].rp);
printf("core: %d ", vm->active);
printf("opcode: %lld\n", opcode);
fprintf(stderr, "ip: %lld ", vm->cpu[vm->active].ip);
fprintf(stderr, "sp: %lld ", vm->cpu[vm->active].sp);
fprintf(stderr, "rp: %lld ", vm->cpu[vm->active].rp);
fprintf(stderr, "core: %d ", vm->active);
fprintf(stderr, "opcode: %lld\n", opcode);
}
void process_opcode_bundle(NgaState *vm, CELL opcode) {