From 2592e6eed0265970086c967d80e22287257452e1 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Thu, 10 Jun 2010 17:58:23 +0200 Subject: [PATCH] non-python: fix dumping of structs inside qt containers Reviewed-by: hjk --- src/plugins/debugger/gdb/classicgdbengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/debugger/gdb/classicgdbengine.cpp b/src/plugins/debugger/gdb/classicgdbengine.cpp index 5bed94cc42..1ac4432e21 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)) { -- 2.11.0