Add printf flush to better capture crashes
This commit is contained in:
parent
b7472eedf1
commit
9abb3ef934
|
@ -2678,6 +2678,7 @@ u8 function_cc *block_lookup_address_##type(u32 pc) \
|
||||||
if(translation_recursion_level == 0) \
|
if(translation_recursion_level == 0) \
|
||||||
{ \
|
{ \
|
||||||
printf("bad jump %x (%x)\n", pc, reg[REG_PC]); \
|
printf("bad jump %x (%x)\n", pc, reg[REG_PC]); \
|
||||||
|
fflush(stdout); \
|
||||||
} \
|
} \
|
||||||
block_address = (u8 *)(-1); \
|
block_address = (u8 *)(-1); \
|
||||||
break; \
|
break; \
|
||||||
|
|
Loading…
Reference in New Issue