LLDB mainline
Classes | Macros | Variables
CommandObjectCommands.cpp File Reference
#include "CommandObjectCommands.h"
#include "CommandObjectHelp.h"
#include "CommandObjectRegexCommand.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Core/IOHandler.h"
#include "lldb/Interpreter/CommandHistory.h"
#include "lldb/Interpreter/CommandInterpreter.h"
#include "lldb/Interpreter/CommandOptionArgumentTable.h"
#include "lldb/Interpreter/CommandReturnObject.h"
#include "lldb/Interpreter/OptionArgParser.h"
#include "lldb/Interpreter/OptionValueBoolean.h"
#include "lldb/Interpreter/OptionValueString.h"
#include "lldb/Interpreter/OptionValueUInt64.h"
#include "lldb/Interpreter/Options.h"
#include "lldb/Interpreter/ScriptInterpreter.h"
#include "lldb/Utility/Args.h"
#include "lldb/Utility/StringList.h"
#include "llvm/ADT/StringRef.h"
#include <optional>
#include "CommandOptions.inc"

Go to the source code of this file.

Classes

class  CommandObjectCommandsSource
 
class  CommandObjectCommandsSource::CommandOptions
 
class  CommandObjectCommandsAlias
 
class  CommandObjectCommandsAlias::CommandOptions
 
class  CommandObjectCommandsUnalias
 
class  CommandObjectCommandsDelete
 
class  CommandObjectCommandsAddRegex
 
class  CommandObjectCommandsAddRegex::CommandOptions
 
class  CommandObjectPythonFunction
 
class  CommandObjectScriptingObjectRaw
 This class implements a "raw" scripted command. More...
 
class  CommandObjectScriptingObjectParsed
 This command implements a lldb parsed scripted command. More...
 
class  CommandObjectScriptingObjectParsed::CommandOptions
 
struct  CommandObjectScriptingObjectParsed::CommandOptions::EnumValueStorage
 
class  CommandObjectCommandsScriptImport
 
class  CommandObjectCommandsScriptImport::CommandOptions
 
class  CommandObjectCommandsScriptAdd
 
class  CommandObjectCommandsScriptAdd::CommandOptions
 
class  CommandObjectCommandsScriptList
 
class  CommandObjectCommandsScriptClear
 
class  CommandObjectCommandsScriptDelete
 
class  CommandObjectMultiwordCommandsScript
 
class  CommandObjectCommandsContainerAdd
 
class  CommandObjectCommandsContainerAdd::CommandOptions
 
class  CommandObjectCommandsContainerDelete
 
class  CommandObjectCommandContainer
 

Macros

#define LLDB_OPTIONS_source
 
#define LLDB_OPTIONS_alias
 
#define LLDB_OPTIONS_regex
 
#define LLDB_OPTIONS_script_import
 
#define LLDB_OPTIONS_script_add
 
#define LLDB_OPTIONS_container_add
 
#define LLDB_OPTIONS_multiword_delete
 

Variables

static const char * g_python_command_instructions
 

Macro Definition Documentation

◆ LLDB_OPTIONS_alias

#define LLDB_OPTIONS_alias

Definition at line 178 of file CommandObjectCommands.cpp.

◆ LLDB_OPTIONS_container_add

#define LLDB_OPTIONS_container_add

Definition at line 2497 of file CommandObjectCommands.cpp.

◆ LLDB_OPTIONS_multiword_delete

#define LLDB_OPTIONS_multiword_delete

Definition at line 2626 of file CommandObjectCommands.cpp.

◆ LLDB_OPTIONS_regex

#define LLDB_OPTIONS_regex

Definition at line 739 of file CommandObjectCommands.cpp.

◆ LLDB_OPTIONS_script_add

#define LLDB_OPTIONS_script_add

Definition at line 2034 of file CommandObjectCommands.cpp.

◆ LLDB_OPTIONS_script_import

#define LLDB_OPTIONS_script_import

Definition at line 1933 of file CommandObjectCommands.cpp.

◆ LLDB_OPTIONS_source

#define LLDB_OPTIONS_source

Definition at line 34 of file CommandObjectCommands.cpp.

Variable Documentation

◆ g_python_command_instructions

const char* g_python_command_instructions
static
Initial value:
=
"Enter your Python command(s). Type 'DONE' to end.\n"
"You must define a Python function with this signature:\n"
"def my_command_impl(debugger, args, exe_ctx, result, internal_dict):\n"

Definition at line 181 of file CommandObjectCommands.cpp.

Referenced by CommandObjectCommandsScriptAdd::IOHandlerActivated().