Commit 93e97432 authored by hjk's avatar hjk
Browse files

Debugger: Fix QFile dumper for Qt 5.3, 32 bit



Change-Id: Ie28b6f52b91adcfb947203e6354f24412e0edfae
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent c1b2ed03
......@@ -403,9 +403,9 @@ def qdump__QFile(d, value):
# 9fc0965 changes the layout of the private structure
qtVersion = d.qtVersion()
if qtVersion >= 0x050300:
offset = 172 if d.is32bit() else 272
offset = 176 if d.is32bit() else 272
elif qtVersion >= 0x050000:
offset = 176 if d.is32bit() else 280
offset = 180 if d.is32bit() else 280
else:
offset = 140 if d.is32bit() else 232
privAddress = d.extractPointer(d.addressOf(value) + d.ptrSize())
......
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