diff --git a/src/plugins/debugger/gdb/classicgdbengine.cpp b/src/plugins/debugger/gdb/classicgdbengine.cpp index 5bed94cc426..1ac4432e210 100644 --- a/src/plugins/debugger/gdb/classicgdbengine.cpp +++ b/src/plugins/debugger/gdb/classicgdbengine.cpp @@ -813,7 +813,7 @@ void GdbEngine::handleVarListChildrenHelperClassic(const GdbMi &item, data.type = tr(""); } 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)) {