Commit 16a43486 authored by Michael Büsch's avatar Michael Büsch

cpu-dump: Also dump VL space

Signed-off-by: Michael Büsch's avatarMichael Buesch <[email protected]>
parent 08725046
......@@ -1491,6 +1491,14 @@ class S7CPU(object):
ret.append(self.__dumpMem(" L: ",
cse.localdata,
min(16, self.specs.nrLocalbytes)))
try:
cse = self.callStack[-2]
except IndexError:
pass
else:
ret.append(self.__dumpMem(" VL: ",
cse.localdata,
min(16, self.specs.nrLocalbytes)))
else:
ret.append(" Calls: None")
curInsn = self.getCurrentInsn()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment