@@ -247,8 +247,6 @@ class CommandObjectThreadBacktrace : public CommandObjectIterateOverThreads {
247
247
CommandOptions m_options;
248
248
};
249
249
250
- enum StepScope { eStepScopeSource, eStepScopeInstruction };
251
-
252
250
#define LLDB_OPTIONS_thread_step_scope
253
251
#include " CommandOptions.inc"
254
252
@@ -374,15 +372,13 @@ class CommandObjectThreadStepWithTypeAndScope : public CommandObjectParsed {
374
372
CommandObjectThreadStepWithTypeAndScope (CommandInterpreter &interpreter,
375
373
const char *name, const char *help,
376
374
const char *syntax,
377
- StepType step_type,
378
- StepScope step_scope)
375
+ StepType step_type)
379
376
: CommandObjectParsed(interpreter, name, help, syntax,
380
377
eCommandRequiresProcess | eCommandRequiresThread |
381
378
eCommandTryTargetAPILock |
382
379
eCommandProcessMustBeLaunched |
383
380
eCommandProcessMustBePaused),
384
- m_step_type (step_type), m_step_scope(step_scope),
385
- m_class_options(" scripted step" ) {
381
+ m_step_type (step_type), m_class_options(" scripted step" ) {
386
382
AddSimpleArgumentList (eArgTypeThreadIndex, eArgRepeatOptional);
387
383
388
384
if (step_type == eStepTypeScripted) {
@@ -621,7 +617,6 @@ class CommandObjectThreadStepWithTypeAndScope : public CommandObjectParsed {
621
617
}
622
618
623
619
StepType m_step_type;
624
- StepScope m_step_scope;
625
620
ThreadStepScopeOptionGroup m_options;
626
621
OptionGroupPythonClassWithDict m_class_options;
627
622
OptionGroupOptions m_all_options;
@@ -2561,35 +2556,35 @@ CommandObjectMultiwordThread::CommandObjectMultiwordThread(
2561
2556
interpreter, " thread step-in" ,
2562
2557
" Source level single step, stepping into calls. Defaults "
2563
2558
" to current thread unless specified." ,
2564
- nullptr , eStepTypeInto, eStepScopeSource )));
2559
+ nullptr , eStepTypeInto)));
2565
2560
2566
2561
LoadSubCommand (" step-out" ,
2567
2562
CommandObjectSP (new CommandObjectThreadStepWithTypeAndScope (
2568
2563
interpreter, " thread step-out" ,
2569
2564
" Finish executing the current stack frame and stop after "
2570
2565
" returning. Defaults to current thread unless specified." ,
2571
- nullptr , eStepTypeOut, eStepScopeSource )));
2566
+ nullptr , eStepTypeOut)));
2572
2567
2573
2568
LoadSubCommand (" step-over" ,
2574
2569
CommandObjectSP (new CommandObjectThreadStepWithTypeAndScope (
2575
2570
interpreter, " thread step-over" ,
2576
2571
" Source level single step, stepping over calls. Defaults "
2577
2572
" to current thread unless specified." ,
2578
- nullptr , eStepTypeOver, eStepScopeSource )));
2573
+ nullptr , eStepTypeOver)));
2579
2574
2580
2575
LoadSubCommand (" step-inst" ,
2581
2576
CommandObjectSP (new CommandObjectThreadStepWithTypeAndScope (
2582
2577
interpreter, " thread step-inst" ,
2583
2578
" Instruction level single step, stepping into calls. "
2584
2579
" Defaults to current thread unless specified." ,
2585
- nullptr , eStepTypeTrace, eStepScopeInstruction )));
2580
+ nullptr , eStepTypeTrace)));
2586
2581
2587
2582
LoadSubCommand (" step-inst-over" ,
2588
2583
CommandObjectSP (new CommandObjectThreadStepWithTypeAndScope (
2589
2584
interpreter, " thread step-inst-over" ,
2590
2585
" Instruction level single step, stepping over calls. "
2591
2586
" Defaults to current thread unless specified." ,
2592
- nullptr , eStepTypeTraceOver, eStepScopeInstruction )));
2587
+ nullptr , eStepTypeTraceOver)));
2593
2588
2594
2589
LoadSubCommand (
2595
2590
" step-scripted" ,
@@ -2600,7 +2595,7 @@ CommandObjectMultiwordThread::CommandObjectMultiwordThread(
2600
2595
" that will be used to populate an SBStructuredData Dictionary, which "
2601
2596
" will be passed to the constructor of the class implementing the "
2602
2597
" scripted step. See the Python Reference for more details." ,
2603
- nullptr , eStepTypeScripted, eStepScopeSource )));
2598
+ nullptr , eStepTypeScripted)));
2604
2599
2605
2600
LoadSubCommand (" plan" , CommandObjectSP (new CommandObjectMultiwordThreadPlan (
2606
2601
interpreter)));
0 commit comments