LLDB  mainline
Classes | Macros | Functions | Variables
CommandObjectCommands.cpp File Reference
#include "llvm/ADT/StringRef.h"
#include "CommandObjectCommands.h"
#include "CommandObjectHelp.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Core/IOHandler.h"
#include "lldb/Interpreter/CommandHistory.h"
#include "lldb/Interpreter/CommandInterpreter.h"
#include "lldb/Interpreter/CommandObjectRegexCommand.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 "CommandOptions.inc"
Include dependency graph for CommandObjectCommands.cpp:

Go to the source code of this file.

Classes

class  CommandObjectCommandsHistory
 
class  CommandObjectCommandsHistory::CommandOptions
 
class  CommandObjectCommandsSource
 
class  CommandObjectCommandsSource::CommandOptions
 
class  CommandObjectCommandsAlias
 
class  CommandObjectCommandsAlias::CommandOptions
 
class  CommandObjectCommandsUnalias
 
class  CommandObjectCommandsDelete
 
class  CommandObjectCommandsAddRegex
 
class  CommandObjectCommandsAddRegex::CommandOptions
 
class  CommandObjectPythonFunction
 
class  CommandObjectScriptingObject
 
class  CommandObjectCommandsScriptImport
 
class  CommandObjectCommandsScriptImport::CommandOptions
 
class  CommandObjectCommandsScriptAdd
 
class  CommandObjectCommandsScriptAdd::CommandOptions
 
class  CommandObjectCommandsScriptList
 
class  CommandObjectCommandsScriptClear
 
class  CommandObjectCommandsScriptDelete
 
class  CommandObjectMultiwordCommandsScript
 

Macros

#define LLDB_OPTIONS_history
 
#define LLDB_OPTIONS_source
 
#define LLDB_OPTIONS_alias
 
#define LLDB_OPTIONS_regex
 
#define LLDB_OPTIONS_script_import
 
#define LLDB_OPTIONS_script_add
 

Functions

static constexpr OptionEnumValues ScriptSynchroType ()
 

Variables

static const char * g_python_command_instructions
 
static constexpr OptionEnumValueElement g_script_synchro_type []
 

Macro Definition Documentation

◆ LLDB_OPTIONS_alias

#define LLDB_OPTIONS_alias

Definition at line 329 of file CommandObjectCommands.cpp.

◆ LLDB_OPTIONS_history

#define LLDB_OPTIONS_history

Definition at line 33 of file CommandObjectCommands.cpp.

◆ LLDB_OPTIONS_regex

#define LLDB_OPTIONS_regex

Definition at line 891 of file CommandObjectCommands.cpp.

◆ LLDB_OPTIONS_script_add

#define LLDB_OPTIONS_script_add

Definition at line 1476 of file CommandObjectCommands.cpp.

◆ LLDB_OPTIONS_script_import

#define LLDB_OPTIONS_script_import

Definition at line 1350 of file CommandObjectCommands.cpp.

◆ LLDB_OPTIONS_source

#define LLDB_OPTIONS_source

Definition at line 182 of file CommandObjectCommands.cpp.

Function Documentation

◆ ScriptSynchroType()

static constexpr OptionEnumValues ScriptSynchroType ( )
static

Definition at line 1472 of file CommandObjectCommands.cpp.

References g_script_synchro_type.

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, result, internal_dict):\n"

Definition at line 332 of file CommandObjectCommands.cpp.

Referenced by CommandObjectCommandsScriptAdd::IOHandlerActivated().

◆ g_script_synchro_type

constexpr OptionEnumValueElement g_script_synchro_type[]
static