LLDB  mainline
Classes | Macros | Enumerations | Functions | Variables
CommandObjectThread.cpp File Reference
#include "CommandObjectThread.h"
#include <memory>
#include <sstream>
#include "CommandObjectThreadUtil.h"
#include "CommandObjectTrace.h"
#include "lldb/Core/PluginManager.h"
#include "lldb/Core/ValueObject.h"
#include "lldb/Host/OptionParser.h"
#include "lldb/Interpreter/CommandInterpreter.h"
#include "lldb/Interpreter/CommandReturnObject.h"
#include "lldb/Interpreter/OptionArgParser.h"
#include "lldb/Interpreter/OptionGroupPythonClassWithDict.h"
#include "lldb/Interpreter/Options.h"
#include "lldb/Symbol/CompileUnit.h"
#include "lldb/Symbol/Function.h"
#include "lldb/Symbol/LineEntry.h"
#include "lldb/Symbol/LineTable.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/RegisterContext.h"
#include "lldb/Target/SystemRuntime.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/Thread.h"
#include "lldb/Target/ThreadPlan.h"
#include "lldb/Target/ThreadPlanStepInRange.h"
#include "lldb/Target/Trace.h"
#include "lldb/Target/TraceInstructionDumper.h"
#include "lldb/Utility/State.h"
#include "CommandOptions.inc"
Include dependency graph for CommandObjectThread.cpp:

Go to the source code of this file.

Classes

class  CommandObjectThreadBacktrace
 
class  CommandObjectThreadBacktrace::CommandOptions
 
class  ThreadStepScopeOptionGroup
 
class  CommandObjectThreadStepWithTypeAndScope
 
class  CommandObjectThreadContinue
 
class  CommandObjectThreadUntil
 
class  CommandObjectThreadUntil::CommandOptions
 
class  CommandObjectThreadSelect
 
class  CommandObjectThreadList
 
class  CommandObjectThreadInfo
 
class  CommandObjectThreadInfo::CommandOptions
 
class  CommandObjectThreadException
 
class  CommandObjectThreadReturn
 
class  CommandObjectThreadReturn::CommandOptions
 
class  CommandObjectThreadJump
 
class  CommandObjectThreadJump::CommandOptions
 
class  CommandObjectThreadPlanList
 
class  CommandObjectThreadPlanList::CommandOptions
 
class  CommandObjectThreadPlanDiscard
 
class  CommandObjectThreadPlanPrune
 
class  CommandObjectMultiwordThreadPlan
 
class  CommandObjectTraceExport
 
class  CommandObjectTraceStart
 
class  CommandObjectTraceStop
 
class  CommandObjectTraceDumpInstructions
 
class  CommandObjectTraceDumpInstructions::CommandOptions
 
class  CommandObjectTraceDumpInfo
 
class  CommandObjectTraceDumpInfo::CommandOptions
 
class  CommandObjectMultiwordTraceDump
 
class  CommandObjectMultiwordTrace
 

Macros

#define LLDB_OPTIONS_thread_backtrace
 
#define LLDB_OPTIONS_thread_step_scope
 
#define LLDB_OPTIONS_thread_until
 
#define LLDB_OPTIONS_thread_info
 
#define LLDB_OPTIONS_thread_return
 
#define LLDB_OPTIONS_thread_jump
 
#define LLDB_OPTIONS_thread_plan_list
 
#define LLDB_OPTIONS_thread_trace_dump_instructions
 
#define LLDB_OPTIONS_thread_trace_dump_info
 

Enumerations

enum  StepScope { eStepScopeSource, eStepScopeInstruction }
 

Functions

static constexpr OptionEnumValues TriRunningModes ()
 
static constexpr OptionEnumValues DuoRunningModes ()
 

Variables

static constexpr OptionEnumValueElement g_tri_running_mode []
 
static constexpr OptionEnumValueElement g_duo_running_mode []
 

Macro Definition Documentation

◆ LLDB_OPTIONS_thread_backtrace

#define LLDB_OPTIONS_thread_backtrace

Definition at line 43 of file CommandObjectThread.cpp.

◆ LLDB_OPTIONS_thread_info

#define LLDB_OPTIONS_thread_info

Definition at line 1182 of file CommandObjectThread.cpp.

◆ LLDB_OPTIONS_thread_jump

#define LLDB_OPTIONS_thread_jump

Definition at line 1492 of file CommandObjectThread.cpp.

◆ LLDB_OPTIONS_thread_plan_list

#define LLDB_OPTIONS_thread_plan_list

Definition at line 1629 of file CommandObjectThread.cpp.

◆ LLDB_OPTIONS_thread_return

#define LLDB_OPTIONS_thread_return

Definition at line 1327 of file CommandObjectThread.cpp.

◆ LLDB_OPTIONS_thread_step_scope

#define LLDB_OPTIONS_thread_step_scope

Definition at line 201 of file CommandObjectThread.cpp.

◆ LLDB_OPTIONS_thread_trace_dump_info

#define LLDB_OPTIONS_thread_trace_dump_info

Definition at line 2161 of file CommandObjectThread.cpp.

◆ LLDB_OPTIONS_thread_trace_dump_instructions

#define LLDB_OPTIONS_thread_trace_dump_instructions

Definition at line 1999 of file CommandObjectThread.cpp.

◆ LLDB_OPTIONS_thread_until

#define LLDB_OPTIONS_thread_until

Definition at line 773 of file CommandObjectThread.cpp.

Enumeration Type Documentation

◆ StepScope

enum StepScope
Enumerator
eStepScopeSource 
eStepScopeInstruction 

Definition at line 189 of file CommandObjectThread.cpp.

Function Documentation

◆ DuoRunningModes()

static constexpr OptionEnumValues DuoRunningModes ( )
staticconstexpr

Definition at line 769 of file CommandObjectThread.cpp.

References g_duo_running_mode.

◆ TriRunningModes()

static constexpr OptionEnumValues TriRunningModes ( )
staticconstexpr

Definition at line 197 of file CommandObjectThread.cpp.

References g_tri_running_mode.

Variable Documentation

◆ g_duo_running_mode

constexpr OptionEnumValueElement g_duo_running_mode[]
staticconstexpr
Initial value:
= {
{eOnlyThisThread, "this-thread", "Run only this thread"},
{eAllThreads, "all-threads", "Run all threads"}}

Definition at line 765 of file CommandObjectThread.cpp.

Referenced by DuoRunningModes().

◆ g_tri_running_mode

constexpr OptionEnumValueElement g_tri_running_mode[]
staticconstexpr
Initial value:
= {
{eOnlyThisThread, "this-thread", "Run only this thread"},
{eAllThreads, "all-threads", "Run all threads"},
{eOnlyDuringStepping, "while-stepping",
"Run only this thread while stepping"}}

Definition at line 191 of file CommandObjectThread.cpp.

Referenced by TriRunningModes().

lldb::eOnlyDuringStepping
@ eOnlyDuringStepping
Definition: lldb-enumerations.h:135
lldb::eAllThreads
@ eAllThreads
Definition: lldb-enumerations.h:135
lldb::eOnlyThisThread
@ eOnlyThisThread
Definition: lldb-enumerations.h:135