Commit 66df65b2 authored by David Schulz's avatar David Schulz

Cdb: Unify the cdb builtin and extension command reply.

Change-Id: Icaee4aee4fbb22b2a55f64cc43effdaebbe63a55
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
Reviewed-by: default avatarNiels Weber <niels.weber@theqtcompany.com>
parent d26fe608
This diff is collapsed.
......@@ -548,7 +548,7 @@ bool parseCdbDisassemblerLine(const QString &line, DisassemblerLine *dLine, uint
return true;
}
DisassemblerLines parseCdbDisassembler(const QList<QByteArray> &a)
DisassemblerLines parseCdbDisassembler(const QByteArray &a)
{
DisassemblerLines result;
quint64 functionAddress = 0;
......@@ -557,7 +557,7 @@ DisassemblerLines parseCdbDisassembler(const QList<QByteArray> &a)
quint64 functionOffset = 0;
QString sourceFile;
foreach (const QByteArray &lineBA, a) {
foreach (const QByteArray &lineBA, a.split('\n')) {
const QString line = QString::fromLatin1(lineBA);
// New function. Append as comment line.
if (parseCdbDisassemblerFunctionLine(line, &currentFunction, &functionOffset, &sourceFile)) {
......
......@@ -82,7 +82,7 @@ QByteArray cdbWriteMemoryCommand(quint64 addr, const QByteArray &data);
QString debugByteArray(const QByteArray &a);
QString StringFromBase64EncodedUtf16(const QByteArray &a);
DisassemblerLines parseCdbDisassembler(const QList<QByteArray> &a);
DisassemblerLines parseCdbDisassembler(const QByteArray &a);
// Model EXCEPTION_RECORD + firstchance
struct WinException
......
Markdown is supported
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