Home
last modified time | relevance | path

Searched refs:cmd_obj_sp (Results 1 – 7 of 7) sorted by relevance

/openbsd-src/gnu/llvm/lldb/source/Interpreter/
H A DCommandInterpreter.cpp282 CommandObjectSP cmd_obj_sp = GetCommandSPExact("quit"); in Initialize() local
283 if (cmd_obj_sp) { in Initialize()
284 AddAlias("q", cmd_obj_sp); in Initialize()
285 AddAlias("exit", cmd_obj_sp); in Initialize()
288 cmd_obj_sp = GetCommandSPExact("_regexp-attach"); in Initialize()
289 if (cmd_obj_sp) in Initialize()
290 AddAlias("attach", cmd_obj_sp)->SetSyntax(cmd_obj_sp->GetSyntax()); in Initialize()
292 cmd_obj_sp = GetCommandSPExact("process detach"); in Initialize()
293 if (cmd_obj_sp) { in Initialize()
294 AddAlias("detach", cmd_obj_sp); in Initialize()
[all …]
H A DCommandAlias.cpp22 static bool ProcessAliasOptionsArgs(lldb::CommandObjectSP &cmd_obj_sp, in ProcessAliasOptionsArgs() argument
37 Options *options = cmd_obj_sp->GetOptions(); in ProcessAliasOptionsArgs()
42 cmd_obj_sp->GetCommandInterpreter().GetExecutionContext(); in ProcessAliasOptionsArgs()
62 if (cmd_obj_sp->WantsRawCommandString()) in ProcessAliasOptionsArgs()
/openbsd-src/gnu/llvm/lldb/source/Commands/
H A DCommandObjectMultiword.cpp82 const CommandObjectSP &cmd_obj_sp) { in LoadSubCommand() argument
83 if (cmd_obj_sp) in LoadSubCommand()
84 lldbassert((&GetCommandInterpreter() == &cmd_obj_sp->GetCommandInterpreter()) && in LoadSubCommand()
92 m_subcommand_dict[std::string(name)] = cmd_obj_sp; in LoadSubCommand()
100 llvm::StringRef name, const CommandObjectSP &cmd_obj_sp, bool can_replace) { in LoadUserSubcommand() argument
102 if (cmd_obj_sp) in LoadUserSubcommand()
103 lldbassert((&GetCommandInterpreter() == &cmd_obj_sp->GetCommandInterpreter()) && in LoadUserSubcommand()
110 cmd_obj_sp->SetIsUserCommand(true); in LoadUserSubcommand()
116 m_subcommand_dict[str_name] = cmd_obj_sp; in LoadUserSubcommand()
129 m_subcommand_dict[str_name] = cmd_obj_sp; in LoadUserSubcommand()
H A DCommandObjectCommands.cpp493 CommandObjectSP cmd_obj_sp = m_interpreter.GetCommandSPExact( in HandleAliasingRawCommand() local
495 if (!cmd_obj_sp) in HandleAliasingRawCommand()
496 cmd_obj_sp = cmd_obj.shared_from_this(); in HandleAliasingRawCommand()
505 alias_command, cmd_obj_sp, raw_command_string)) { in HandleAliasingRawCommand()
1155 StructuredData::GenericSP cmd_obj_sp, in CommandObjectScriptingObject() argument
1157 : CommandObjectRaw(interpreter, name), m_cmd_obj_sp(cmd_obj_sp), in CommandObjectScriptingObject()
1164 GetFlags().Set(scripter->GetFlagsForCommandObject(cmd_obj_sp)); in CommandObjectScriptingObject()
1600 auto cmd_obj_sp = interpreter->CreateScriptCommandObject( in DoExecute() local
1602 if (!cmd_obj_sp) { in DoExecute()
1608 m_interpreter, m_cmd_name, cmd_obj_sp, m_synchronicity)); in DoExecute()
/openbsd-src/gnu/llvm/lldb/include/lldb/Interpreter/
H A DScriptInterpreter.h530 GetShortHelpForCommandObject(StructuredData::GenericSP cmd_obj_sp, in GetShortHelpForCommandObject() argument
537 GetFlagsForCommandObject(StructuredData::GenericSP cmd_obj_sp) { in GetFlagsForCommandObject() argument
541 virtual bool GetLongHelpForCommandObject(StructuredData::GenericSP cmd_obj_sp, in GetLongHelpForCommandObject() argument
/openbsd-src/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptInterpreterPythonImpl.h210 bool GetShortHelpForCommandObject(StructuredData::GenericSP cmd_obj_sp,
214 GetFlagsForCommandObject(StructuredData::GenericSP cmd_obj_sp) override;
216 bool GetLongHelpForCommandObject(StructuredData::GenericSP cmd_obj_sp,
H A DScriptInterpreterPython.cpp2877 StructuredData::GenericSP cmd_obj_sp, std::string &dest) { in GetShortHelpForCommandObject() argument
2882 if (!cmd_obj_sp) in GetShortHelpForCommandObject()
2886 (PyObject *)cmd_obj_sp->GetValue()); in GetShortHelpForCommandObject()
2912 StructuredData::GenericSP cmd_obj_sp) { in GetFlagsForCommandObject() argument
2919 if (!cmd_obj_sp) in GetFlagsForCommandObject()
2923 (PyObject *)cmd_obj_sp->GetValue()); in GetFlagsForCommandObject()
2961 StructuredData::GenericSP cmd_obj_sp, std::string &dest) { in GetLongHelpForCommandObject() argument
2966 if (!cmd_obj_sp) in GetLongHelpForCommandObject()
2970 (PyObject *)cmd_obj_sp->GetValue()); in GetLongHelpForCommandObject()