summaryrefslogtreecommitdiff
path: root/DevTools
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-07-21 19:21:52 +0200
committerAndreas Kling <kling@serenityos.org>2020-07-21 19:21:52 +0200
commita819c359040f33745a58a45fe7cd201a553593a3 (patch)
tree19487205bffbc42b8c78cc1c67d2456bbdd128be /DevTools
parentabebec0e04512254fffe79584066b75077456984 (diff)
downloadserenity-a819c359040f33745a58a45fe7cd201a553593a3.zip
UserspaceEmulator: Include flag taint state in dump output
Diffstat (limited to 'DevTools')
-rw-r--r--DevTools/UserspaceEmulator/SoftCPU.cpp3
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);
}