Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Leger2014-03-13 07:08:07 -0400
committerFrederic Leger2014-03-13 11:06:58 -0400
commite5d5f9bbe2c36eb1bd2debfd27411b55d0492bb2 (patch)
tree8681f6ce1eef70c97bcae61238f5c45ab6477dbf
parent4e3ba4dad9a03f3b979553972be55594c70b3e37 (diff)
downloadorg.eclipse.tcf-e5d5f9bbe2c36eb1bd2debfd27411b55d0492bb2.tar.gz
org.eclipse.tcf-e5d5f9bbe2c36eb1bd2debfd27411b55d0492bb2.tar.xz
org.eclipse.tcf-e5d5f9bbe2c36eb1bd2debfd27411b55d0492bb2.zip
Disassembly opcode value fix.
The OpcodeValue field of a disassembled instruction was not set to a byte array as specified by the documentation.
-rw-r--r--python/src/tcf/services/remote/DisassemblyProxy.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/src/tcf/services/remote/DisassemblyProxy.py b/python/src/tcf/services/remote/DisassemblyProxy.py
index 3c07edc21..123757a9d 100644
--- a/python/src/tcf/services/remote/DisassemblyProxy.py
+++ b/python/src/tcf/services/remote/DisassemblyProxy.py
@@ -69,8 +69,9 @@ def _toDisassemblyArray(o):
def _toDisassemblyLine(m):
+ from ...channel import toByteArray
addr = m.get("Address")
size = m.get("Size")
instruction = m.get("Instruction")
- opcodeValue = m.get("OpcodeValue")
+ opcodeValue = toByteArray(m.get("OpcodeValue"))
return disassembly.DisassemblyLine(addr, size, instruction, opcodeValue)

Back to the top