Commit fdcd6dc2 authored by hjk's avatar hjk Committed by hjk

debugger: make auto-deref display the pointer properly on toplevel entries on mac

Change-Id: I98644761466731286d89f296a8eeefab3425501f
Reviewed-on: http://codereview.qt.nokia.com/1359Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
parent c47b2aed
......@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment