diff options
author | Andreas Kling <kling@serenityos.org> | 2020-07-21 19:21:52 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-21 19:21:52 +0200 |
commit | a819c359040f33745a58a45fe7cd201a553593a3 (patch) | |
tree | 19487205bffbc42b8c78cc1c67d2456bbdd128be /DevTools | |
parent | abebec0e04512254fffe79584066b75077456984 (diff) | |
download | serenity-a819c359040f33745a58a45fe7cd201a553593a3.zip |
UserspaceEmulator: Include flag taint state in dump output
Diffstat (limited to 'DevTools')
-rw-r--r-- | DevTools/UserspaceEmulator/SoftCPU.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/DevTools/UserspaceEmulator/SoftCPU.cpp b/DevTools/UserspaceEmulator/SoftCPU.cpp index 4f9715452c..b5707ebb02 100644 --- a/DevTools/UserspaceEmulator/SoftCPU.cpp +++ b/DevTools/UserspaceEmulator/SoftCPU.cpp @@ -94,7 +94,8 @@ void SoftCPU::dump() const printf("ebp=%08x esp=%08x esi=%08x edi=%08x ", ebp().value(), esp().value(), esi().value(), edi().value()); 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()); + printf("#bp=%08x #sp=%08x #si=%08x #di=%08x ", ebp().shadow(), esp().shadow(), esi().shadow(), edi().shadow()); + printf("#f=%u\n", m_flags_tainted); fflush(stdout); } |