non-python: fix dumping of structs inside qt containers

Reviewed-by: hjk
This commit is contained in:
Oswald Buddenhagen
2010-06-10 17:58:23 +02:00
parent 20764c225b
commit 2592e6eed0

View File

@@ -813,7 +813,7 @@ void GdbEngine::handleVarListChildrenHelperClassic(const GdbMi &item,
data.type = tr("<anonymous union>");
} else {
// A structure. Hope there's nothing else...
data.exp = parent.exp + '.' + data.name.toLatin1();
data.exp = '(' + parent.exp + ")." + data.name.toLatin1();
}
if (hasDebuggingHelperForType(data.type)) {