debugger: refactor passing of options to new dumpers

This commit is contained in:
hjk
2010-01-05 10:48:14 +01:00
parent 2a28741f90
commit 11a300dd92
3 changed files with 63 additions and 30 deletions
+5 -1
View File
@@ -564,7 +564,11 @@ void tst_Gdb::check(const QByteArray &label, const QByteArray &expected0,
{
//qDebug() << "\nABOUT TO RUN TEST: " << expanded;
qWarning() << label << "...";
writeToGdb("bb " + N(int(fancy)) + " 1 " + expanded);
QByteArray options = "passexceptions";
options += "autoderef,";
if (fancy)
options += ",fancy";
writeToGdb("bb " + options + " " + expanded);
//qDebug() << "\n1 ABOUT TO AQUIRE USED ";
usedBytes.acquire();