forked from qt-creator/qt-creator
non-python: fix dumping of structs inside qt containers
Reviewed-by: hjk
This commit is contained in:
@@ -813,7 +813,7 @@ void GdbEngine::handleVarListChildrenHelperClassic(const GdbMi &item,
|
|||||||
data.type = tr("<anonymous union>");
|
data.type = tr("<anonymous union>");
|
||||||
} else {
|
} else {
|
||||||
// A structure. Hope there's nothing 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)) {
|
if (hasDebuggingHelperForType(data.type)) {
|
||||||
|
Reference in New Issue
Block a user