Skip to content

Commit 4d7a735

Browse files
committed
force QueueThreadPlanForStepSingleInstruction to accept SBError
1 parent b9658d5 commit 4d7a735

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

lldb/include/lldb/API/SBThreadPlan.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ class LLDB_API SBThreadPlan {
105105
SBThreadPlan QueueThreadPlanForStepOut(uint32_t frame_idx_to_step_to,
106106
bool first_insn, SBError &error);
107107

108-
SBThreadPlan QueueThreadPlanForStepSingleInstruction(bool step_over);
109108
SBThreadPlan QueueThreadPlanForStepSingleInstruction(bool step_over,
110109
SBError &error);
111110

lldb/source/API/SBThreadPlan.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -325,14 +325,6 @@ SBThreadPlan::QueueThreadPlanForStepOut(uint32_t frame_idx_to_step_to,
325325
return SBThreadPlan();
326326
}
327327

328-
SBThreadPlan
329-
SBThreadPlan::QueueThreadPlanForStepSingleInstruction(bool step_over) {
330-
LLDB_INSTRUMENT_VA(this, step_over);
331-
332-
SBError error;
333-
return QueueThreadPlanForStepSingleInstruction(step_over, error);
334-
}
335-
336328
SBThreadPlan
337329
SBThreadPlan::QueueThreadPlanForStepSingleInstruction(bool step_over,
338330
SBError &error) {

lldb/test/API/functionalities/step_scripted/Steps.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ def __init__(self, thread_plan, dict):
5050
super().__init__(thread_plan)
5151

5252
def queue_child_thread_plan(self):
53-
return self.thread_plan.QueueThreadPlanForStepSingleInstruction(False)
53+
return self.thread_plan.QueueThreadPlanForStepSingleInstruction(False, lldb.SBError())
5454

5555

5656
class StepSingleInstructionWithStepOver(StepWithChild):
5757
def __init__(self, thread_plan, dict):
5858
super().__init__(thread_plan)
5959

6060
def queue_child_thread_plan(self):
61-
return self.thread_plan.QueueThreadPlanForStepSingleInstruction(True)
61+
return self.thread_plan.QueueThreadPlanForStepSingleInstruction(True, lldb.SBError())
6262

6363

6464
# This plan does a step-over until a variable changes value.

0 commit comments

Comments
 (0)