forked from qt-creator/qt-creator
debugger: go back to explicitly named pointers
This commit is contained in:
@@ -3938,7 +3938,7 @@ void GdbEngine::handleVarListChildrenHelper(const GdbMi &item,
|
||||
if (data.type == data.name) {
|
||||
if (isPointerType(parent.type)) {
|
||||
data.exp = "*(" + parent.exp + ')';
|
||||
data.name = _("*"); // + parent.name;
|
||||
data.name = _("*") + parent.name;
|
||||
} else {
|
||||
// A type we derive from? gdb crashes when creating variables here
|
||||
data.exp = parent.exp;
|
||||
|
||||
Reference in New Issue
Block a user