mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +00:00
UserspaceEmulator: Flush stdout in SoftCPU::dump()
This makes the CPU dump output interleave correctly with instructions.
This commit is contained in:
parent
6c8a0e8c56
commit
48eec58bdc
1 changed files with 1 additions and 0 deletions
|
@ -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("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("#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());
|
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()
|
void SoftCPU::did_receive_secret_data()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue