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:
@@ -276,7 +276,7 @@ void WatchData::setAddress(const quint64 &a)
|
||||
void WatchData::setHexAddress(const QByteArray &a)
|
||||
{
|
||||
bool ok;
|
||||
const qint64 av = a.toULongLong(&ok, 16);
|
||||
const qint64 av = a.toULongLong(&ok, 0);
|
||||
if (ok) {
|
||||
address = av;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user