forked from qt-creator/qt-creator
Debugger: Recognize source data within disassembler view
... and use it to toggle breakpoints by file and line, and for jumping to file and line. Task-number: QTCREATORBUG-14278 Change-Id: I799d085eb53339905ea3608022aeae5a9aef1fda Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -29,7 +29,9 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include "disassemblerlines.h"
|
||||
#include "debuggerengine.h"
|
||||
#include "debuggerstringutils.h"
|
||||
#include "sourceutils.h"
|
||||
|
||||
#include <QDebug>
|
||||
#include <QFile>
|
||||
@@ -72,13 +74,6 @@ void DisassemblerLine::fromString(const QString &unparsed)
|
||||
data = unparsed;
|
||||
}
|
||||
|
||||
quint64 DisassemblerLine::addressFromDisassemblyLine(const QString &line)
|
||||
{
|
||||
DisassemblerLine l;
|
||||
l.fromString(line);
|
||||
return l.address;
|
||||
}
|
||||
|
||||
quint64 DisassemblerLines::startAddress() const
|
||||
{
|
||||
for (int i = 0; i < m_data.size(); ++i)
|
||||
|
||||
Reference in New Issue
Block a user