Debugger: Add display of mixed disassembler output for LLDB

Change-Id: I4997ce4fb4ce6a61cca67e36abb84c61a1c120f5
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-08-28 14:35:25 +02:00
parent 47c79a102f
commit d16aed4304
3 changed files with 33 additions and 3 deletions

View File

@@ -707,6 +707,10 @@ void LldbEngine::refreshDisassembly(const GdbMi &data)
dl.data = line["inst"].toUtf8();
dl.function = line["func-name"].toUtf8();
dl.offset = line["offset"].toInt();
dl.lineNumber = line["line"].toInt();
dl.fileName = line["file"].toUtf8();
dl.function = line["function"].toUtf8();
dl.hunk = line["hunk"].toInt();
QByteArray comment = line["comment"].data();
if (!comment.isEmpty())
dl.data += QString::fromUtf8(" # " + comment);