forked from qt-creator/qt-creator
debugger: fix several small issues in the dumper code
Fix typo in QChar helper. Add a auto tests for some of the dumpers. Make the dumpers compilable for Qt < 4.5 for better regression tests. Make manual tests compile with Qt < 4.5.
This commit is contained in:
@@ -186,7 +186,7 @@ void WatchData::setType(const QString &str)
|
||||
setHasChildren(false);
|
||||
}
|
||||
|
||||
void WatchData::setAddress(const QString & str)
|
||||
void WatchData::setAddress(const QString &str)
|
||||
{
|
||||
addr = str;
|
||||
}
|
||||
@@ -196,8 +196,7 @@ WatchData WatchData::pointerChildPlaceHolder() const
|
||||
WatchData data1;
|
||||
data1.iname = iname + QLatin1String(".*");
|
||||
data1.name = QLatin1Char('*') + name;
|
||||
data1
|
||||
.exp = QLatin1String("(*(") + exp + QLatin1String("))");
|
||||
data1.exp = QLatin1String("(*(") + exp + QLatin1String("))");
|
||||
data1.type = stripPointerType(type);
|
||||
data1.setValueNeeded();
|
||||
return data1;
|
||||
|
||||
Reference in New Issue
Block a user