forked from qt-creator/qt-creator
Debugger: Finalize moving Operate by Instruction to engines
Fixes: QTCREATORBUG-21211 Fixes: QTCREATORBUG-21212 Change-Id: I6c0259052336f2141462157c319abeaec9a1e483 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -891,7 +891,7 @@ void LldbEngine::handleLocationNotification(const GdbMi &reportedLocation)
|
||||
QString function = reportedLocation["function"].data();
|
||||
int lineNumber = reportedLocation["line"].toInt();
|
||||
Location loc = Location(fileName, lineNumber);
|
||||
if (boolSetting(OperateByInstruction) || !QFileInfo::exists(fileName) || lineNumber <= 0) {
|
||||
if (operatesByInstruction() || !QFileInfo::exists(fileName) || lineNumber <= 0) {
|
||||
loc = Location(address);
|
||||
loc.setNeedsMarker(true);
|
||||
loc.setUseAssembler(true);
|
||||
|
||||
Reference in New Issue
Block a user