Commit 8d810bd1 authored by ck's avatar ck Committed by Friedemann Kleint
Browse files

Debugger: Fix dumper tests for 64-bit Linux.

Resolved padding issue for QMapNode.

Reviewed-by: default avatarFriedemann Kleint <>
parent b1af7f2f
......@@ -1530,8 +1530,10 @@ template <typename K, typename V>
QByteArray keyTypeStr = typeToString<K>();
QByteArray valTypeStr = typeToString<V>();
#if QT_VERSION >= 0x040500
append(ptrToBa(reinterpret_cast<char *>(&(*it)) + sizeof(V))).
QMapNode<K, V> *node = 0;
size_t backwardOffset = size_t(&node->backward) - valOff;
char *addr = reinterpret_cast<char *>(&(*it)) + backwardOffset;
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