Commit a33d12f4 authored by hjk's avatar hjk Committed by hjk
Browse files

debugger: don't use python's "hex()" as it adds "L" suffixes

Change-Id: I4c42f07785606f9adfb7f8129027b5f2d094f310

Reviewed-by: default avatarQt Sanity Bot <>
Reviewed-by: default avatarhjk <>
parent 34276b93
......@@ -166,7 +166,8 @@ def cleanAddress(addr):
# We cannot use str(addr) as it yields rubbish for char pointers
# that might trigger Unicode encoding errors.
#return addr.cast(lookupType("void").pointer())
return hex(long(addr))
# We do not use "hex(...)" as it (sometimes?) adds a "L" suffix.
return "0x%x" % long(addr)
def extractTemplateArgument(type, position):
level = 0
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