forked from qt-creator/qt-creator
debugger: make auto-deref display the pointer properly on toplevel entries on mac
Change-Id: I98644761466731286d89f296a8eeefab3425501f Reviewed-on: http://codereview.qt.nokia.com/1359 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -864,6 +864,8 @@ void GdbEngine::updateSubItemClassic(const WatchData &data0)
|
||||
// Try automatic dereferentiation
|
||||
data.exp = "(*(" + data.exp + "))";
|
||||
data.type = data.type + '.'; // FIXME: fragile HACK to avoid recursion
|
||||
if (data.value.startsWith("0x"))
|
||||
data.value = "@" + data.value;
|
||||
insertData(data);
|
||||
} else {
|
||||
data.setChildrenUnneeded();
|
||||
|
||||
Reference in New Issue
Block a user