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:
hjk
2011-07-07 15:00:11 +02:00
committed by hjk
parent fdcd6dc2fb
commit d84861fabc
3 changed files with 5 additions and 10 deletions

View File

@@ -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;