LLDB  mainline
Classes | Variables
CommandObjectProcess.cpp File Reference
#include "CommandObjectProcess.h"
#include "lldb/Breakpoint/Breakpoint.h"
#include "lldb/Breakpoint/BreakpointLocation.h"
#include "lldb/Breakpoint/BreakpointSite.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/PluginManager.h"
#include "lldb/Host/Host.h"
#include "lldb/Host/OptionParser.h"
#include "lldb/Host/StringConvert.h"
#include "lldb/Interpreter/CommandInterpreter.h"
#include "lldb/Interpreter/CommandReturnObject.h"
#include "lldb/Interpreter/OptionArgParser.h"
#include "lldb/Interpreter/Options.h"
#include "lldb/Target/Platform.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/StopInfo.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/Thread.h"
#include "lldb/Target/UnixSignals.h"
#include "lldb/Utility/Args.h"
#include "lldb/Utility/State.h"
Include dependency graph for CommandObjectProcess.cpp:

Go to the source code of this file.

Classes

class  CommandObjectProcessLaunchOrAttach
 
class  CommandObjectProcessLaunch
 
class  CommandObjectProcessAttach
 
class  CommandObjectProcessAttach::CommandOptions
 
class  CommandObjectProcessContinue
 
class  CommandObjectProcessContinue::CommandOptions
 
class  CommandObjectProcessDetach
 
class  CommandObjectProcessDetach::CommandOptions
 
class  CommandObjectProcessConnect
 
class  CommandObjectProcessConnect::CommandOptions
 
class  CommandObjectProcessPlugin
 
class  CommandObjectProcessLoad
 
class  CommandObjectProcessLoad::CommandOptions
 
class  CommandObjectProcessUnload
 
class  CommandObjectProcessSignal
 
class  CommandObjectProcessInterrupt
 
class  CommandObjectProcessKill
 
class  CommandObjectProcessSaveCore
 
class  CommandObjectProcessStatus
 
class  CommandObjectProcessHandle
 
class  CommandObjectProcessHandle::CommandOptions
 

Variables

static constexpr OptionDefinition g_process_attach_options []
 
static constexpr OptionDefinition g_process_continue_options []
 
static constexpr OptionDefinition g_process_detach_options []
 
static constexpr OptionDefinition g_process_connect_options []
 
static constexpr OptionDefinition g_process_load_options []
 
static constexpr OptionDefinition g_process_handle_options []
 

Variable Documentation

◆ g_process_attach_options

constexpr OptionDefinition g_process_attach_options[]
static
Initial value:
= {
{ LLDB_OPT_SET_ALL, false, "continue", 'c', OptionParser::eNoArgument, nullptr, {}, 0, eArgTypeNone, "Immediately continue the process once attached." },
{ LLDB_OPT_SET_ALL, false, "plugin", 'P', OptionParser::eRequiredArgument, nullptr, {}, 0, eArgTypePlugin, "Name of the process plugin you want to use." },
{ LLDB_OPT_SET_1, false, "pid", 'p', OptionParser::eRequiredArgument, nullptr, {}, 0, eArgTypePid, "The process ID of an existing process to attach to." },
{ LLDB_OPT_SET_2, false, "name", 'n', OptionParser::eRequiredArgument, nullptr, {}, 0, eArgTypeProcessName, "The name of the process to attach to." },
{ LLDB_OPT_SET_2, false, "include-existing", 'i', OptionParser::eNoArgument, nullptr, {}, 0, eArgTypeNone, "Include existing processes when doing attach -w." },
{ LLDB_OPT_SET_2, false, "waitfor", 'w', OptionParser::eNoArgument, nullptr, {}, 0, eArgTypeNone, "Wait for the process with <process-name> to launch." },
}
#define LLDB_OPT_SET_2
Definition: lldb-defines.h:112
#define LLDB_OPT_SET_ALL
Definition: lldb-defines.h:110
#define LLDB_OPT_SET_1
Definition: lldb-defines.h:111

Definition at line 298 of file CommandObjectProcess.cpp.

Referenced by CommandObjectProcessAttach::CommandOptions::GetDefinitions().

◆ g_process_connect_options

constexpr OptionDefinition g_process_connect_options[]
static
Initial value:
= {
{ LLDB_OPT_SET_ALL, false, "plugin", 'p', OptionParser::eRequiredArgument, nullptr, {}, 0, eArgTypePlugin, "Name of the process plugin you want to use." },
}
#define LLDB_OPT_SET_ALL
Definition: lldb-defines.h:110

Definition at line 806 of file CommandObjectProcess.cpp.

Referenced by CommandObjectProcessConnect::CommandOptions::GetDefinitions().

◆ g_process_continue_options

constexpr OptionDefinition g_process_continue_options[]
static
Initial value:
= {
{ LLDB_OPT_SET_ALL, false, "ignore-count",'i', OptionParser::eRequiredArgument, nullptr, {}, 0, eArgTypeUnsignedInteger, "Ignore <N> crossings of the breakpoint (if it exists) for the currently selected thread." }
}
#define LLDB_OPT_SET_ALL
Definition: lldb-defines.h:110

Definition at line 548 of file CommandObjectProcess.cpp.

Referenced by CommandObjectProcessContinue::CommandOptions::GetDefinitions().

◆ g_process_detach_options

constexpr OptionDefinition g_process_detach_options[]
static
Initial value:
= {
{ LLDB_OPT_SET_1, false, "keep-stopped", 's', OptionParser::eRequiredArgument, nullptr, {}, 0, eArgTypeBoolean, "Whether or not the process should be kept stopped on detach (if possible)." },
}
#define LLDB_OPT_SET_1
Definition: lldb-defines.h:111

Definition at line 709 of file CommandObjectProcess.cpp.

Referenced by CommandObjectProcessDetach::CommandOptions::GetDefinitions().

◆ g_process_handle_options

constexpr OptionDefinition g_process_handle_options[]
static
Initial value:
= {
{ LLDB_OPT_SET_1, false, "stop", 's', OptionParser::eRequiredArgument, nullptr, {}, 0, eArgTypeBoolean, "Whether or not the process should be stopped if the signal is received." },
{ LLDB_OPT_SET_1, false, "notify", 'n', OptionParser::eRequiredArgument, nullptr, {}, 0, eArgTypeBoolean, "Whether or not the debugger should notify the user if the signal is received." },
{ LLDB_OPT_SET_1, false, "pass", 'p', OptionParser::eRequiredArgument, nullptr, {}, 0, eArgTypeBoolean, "Whether or not the signal should be passed to the process." }
}
#define LLDB_OPT_SET_1
Definition: lldb-defines.h:111

Definition at line 1315 of file CommandObjectProcess.cpp.

Referenced by CommandObjectProcessHandle::CommandOptions::GetDefinitions().

◆ g_process_load_options

constexpr OptionDefinition g_process_load_options[]
static
Initial value:
= {
{ LLDB_OPT_SET_ALL, false, "install", 'i', OptionParser::eOptionalArgument, nullptr, {}, 0, eArgTypePath, "Install the shared library to the target. If specified without an argument then the library will installed in the current working directory." },
}
#define LLDB_OPT_SET_ALL
Definition: lldb-defines.h:110

Definition at line 931 of file CommandObjectProcess.cpp.

Referenced by CommandObjectProcessLoad::CommandOptions::GetDefinitions().