1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00

UserspaceEmulator: Flush stdout in SoftCPU::dump()

This makes the CPU dump output interleave correctly with instructions.
This commit is contained in:
Andreas Kling 2020-07-21 16:36:15 +02:00
parent 6c8a0e8c56
commit 48eec58bdc

View file

@ -86,6 +86,7 @@ void SoftCPU::dump() const
printf("o=%u s=%u z=%u a=%u p=%u c=%u\n", of(), sf(), zf(), af(), pf(), cf());
printf("#ax=%08x #bx=%08x #cx=%08x #dx=%08x ", eax().shadow(), ebx().shadow(), ecx().shadow(), edx().shadow());
printf("#bp=%08x #sp=%08x #si=%08x #di=%08x\n", ebp().shadow(), esp().shadow(), esi().shadow(), edi().shadow());
fflush(stdout);
}
void SoftCPU::did_receive_secret_data()