Commit d69a12a1 authored by hjk's avatar hjk
Browse files

debugger: fix array dumpers

parent effc5abd
......@@ -1419,8 +1419,8 @@ class Dumper:
charptr = lookupType("unsigned char").pointer()
addr1 = (baseptr+1).cast(charptr)
addr0 = baseptr.cast(charptr)
self.put('addrbase="%s",', cleanAddress(addr0))
self.put('addrstep="%s",', addr1 - addr0)
self.put('addrbase="%s",' % cleanAddress(addr0))
self.put('addrstep="%s",' % (addr1 - addr0))
innerType = None
if len(fields) == 1 and fields[0].name is None:
......
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