Commit 16c2c96c authored by hjk's avatar hjk
Browse files

Debugger: Make std::... dumpers work on Mac again



GDB seems to report types names with spurious single quotes
which then made tests for dumper availability fail.

Change-Id: Iaa3e6b92503a2b9553432568c2047c28899c7ea6
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 38e98e60
......@@ -415,6 +415,7 @@ static bool extractTemplate(const QByteArray &type, QByteArray *tmplate, QByteAr
}
*tmplate = tmplate->trimmed();
tmplate->replace("<>", "");
tmplate->replace("'", ""); // Sometimes 'std::vector' is reported, with quotes.
*inner = inner->trimmed();
// qDebug() << "EXTRACT TEMPLATE: " << *tmplate << *inner << " FROM " << type;
return !inner->isEmpty();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment