Debugger: Make LLDB instruction-wise stepping work with 3.8.1

Judging from the code it either never worked, or LLDB changed
syntax at some time. In either case, having it in a usable
state with current version is an improvement.

Change-Id: I88b15969bf28b92735d860544dedcbd1d9689765
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2018-07-24 12:12:28 +02:00
parent f6943a712a
commit 27cd7162e1

View File

@@ -1505,7 +1505,7 @@ class Dumper(DumperBase):
self.reportResult('', args)
def executeNextI(self, args):
self.currentThread().StepInstruction(lldb.eOnlyThisThread)
self.currentThread().StepInstruction(True)
self.reportResult('', args)
def executeStep(self, args):
@@ -1527,7 +1527,7 @@ class Dumper(DumperBase):
self.reportResult('', args)
def executeStepI(self, args):
self.currentThread().StepInstruction(lldb.eOnlyThisThread)
self.currentThread().StepInstruction(False)
self.reportResult('', args)
def executeStepOut(self, args = {}):