Commit 8cb5f154 authored by hjk's avatar hjk
Browse files

Debugger: Prefer hex values for pointers in transport



Doesn't change the result, but makes debugging the
protocol easier.

Change-Id: I8fae79bfbd647c296626c03636775f6057faf385
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 78960985
......@@ -772,11 +772,11 @@ class DumperBase:
self.putItem(value.dereference())
self.currentChildType = savedCurrentChildType
#self.putPointerValue(value)
self.put('origaddr="%s",' % value.address)
self.put('origaddr="0x%x",' % value.address)
return True
#warn("GENERIC PLAIN POINTER: %s" % value.type)
#warn("ADDR PLAIN POINTER: %s" % value.address)
#warn("ADDR PLAIN POINTER: 0x%x" % value.address)
self.putType(typeName)
self.putValue("0x%x" % self.pointerValue(value))
self.putNumChild(1)
......
Supports Markdown
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