forked from qt-creator/qt-creator
debugger: handle decimal and hex output for address values
Change-Id: Ieed0cf78ab65fe94355159df173e200a1c195765 Reviewed-on: http://codereview.qt.nokia.com/1311 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
@@ -739,7 +739,7 @@ static void setWatchDataExpression(WatchData &data, const GdbMi &mi)
|
||||
data.exp = mi.data();
|
||||
}
|
||||
|
||||
static void setWatchDataAddress(WatchData &data, quint64 address , quint64 origAddress = 0)
|
||||
static void setWatchDataAddress(WatchData &data, quint64 address, quint64 origAddress = 0)
|
||||
{
|
||||
if (origAddress) { // Gdb dumpers reports the dereferenced address as origAddress
|
||||
data.address = origAddress;
|
||||
|
||||
Reference in New Issue
Block a user