Home
last modified time | relevance | path

Searched refs:debugger (Results 1 – 25 of 165) sorted by relevance

1234567

/freebsd-src/contrib/llvm-project/lldb/source/Expression/
H A DREPL.cpp29 Debugger &debugger = m_target.GetDebugger(); in REPL() local
30 debugger.SetShowProgress(false); in REPL()
31 auto exe_ctx = debugger.GetCommandInterpreter().GetExecutionContext(); in REPL()
39 Debugger *debugger, Target *target, in Create() argument
50 ret = (*create_instance)(err, language, debugger, target, repl_options); in Create()
75 Debugger &debugger = m_target.GetDebugger(); in GetIOHandler() local
77 debugger, IOHandler::Type::REPL, in GetIOHandler()
92 m_indent_str.assign(debugger.GetTabSize(), ' '); in GetIOHandler()
93 m_enable_auto_indent = debugger.GetAutoIndent(); in GetIOHandler()
232 Debugger &debugger = m_target.GetDebugger(); in IOHandlerInputComplete() local
[all …]
/freebsd-src/contrib/llvm-project/lldb/source/Core/
H A DPluginManager.cpp257 void PerformDebuggerCallback(Debugger &debugger) { in PerformDebuggerCallback()
260 instance.debugger_init_callback(debugger); in PerformDebuggerCallback()
983 Debugger &debugger) { in StructuredDataPluginInstance()
991 return instance.create_callback(debugger);
996 return none_instance(debugger);
1557 void PluginManager::DebuggerInitialize(Debugger &debugger) { in GetDebuggerPropertyForPlugins()
1558 GetDynamicLoaderInstances().PerformDebuggerCallback(debugger); in GetDebuggerPropertyForPlugins()
1559 GetJITLoaderInstances().PerformDebuggerCallback(debugger); in GetDebuggerPropertyForPlugins()
1560 GetObjectFileInstances().PerformDebuggerCallback(debugger); in GetDebuggerPropertyForPlugins()
1561 GetPlatformInstances().PerformDebuggerCallback(debugger); in GetDebuggerPropertyForPlugins()
256 PerformDebuggerCallback(Debugger & debugger) PerformDebuggerCallback() argument
957 GetScriptInterpreterForLanguage(lldb::ScriptLanguage script_lang,Debugger & debugger) GetScriptInterpreterForLanguage() argument
1531 DebuggerInitialize(Debugger & debugger) DebuggerInitialize() argument
1548 GetDebuggerPropertyForPlugins(Debugger & debugger,llvm::StringRef plugin_type_name,llvm::StringRef plugin_type_desc,bool can_create) GetDebuggerPropertyForPlugins() argument
1585 GetDebuggerPropertyForPluginsOldStyle(Debugger & debugger,llvm::StringRef plugin_type_name,llvm::StringRef plugin_type_desc,bool can_create) GetDebuggerPropertyForPluginsOldStyle() argument
1624 GetSettingForPlugin(Debugger & debugger,llvm::StringRef setting_name,llvm::StringRef plugin_type_name,GetDebuggerPropertyForPluginsPtr get_debugger_property=GetDebuggerPropertyForPlugins) GetSettingForPlugin() argument
1640 CreateSettingForPlugin(Debugger & debugger,llvm::StringRef plugin_type_name,llvm::StringRef plugin_type_desc,const lldb::OptionValuePropertiesSP & properties_sp,llvm::StringRef description,bool is_global_property,GetDebuggerPropertyForPluginsPtr get_debugger_property=GetDebuggerPropertyForPlugins) CreateSettingForPlugin() argument
1672 GetSettingForDynamicLoaderPlugin(Debugger & debugger,llvm::StringRef setting_name) GetSettingForDynamicLoaderPlugin() argument
1678 CreateSettingForDynamicLoaderPlugin(Debugger & debugger,const lldb::OptionValuePropertiesSP & properties_sp,llvm::StringRef description,bool is_global_property) CreateSettingForDynamicLoaderPlugin() argument
1686 GetSettingForPlatformPlugin(Debugger & debugger,llvm::StringRef setting_name) GetSettingForPlatformPlugin() argument
1693 CreateSettingForPlatformPlugin(Debugger & debugger,const lldb::OptionValuePropertiesSP & properties_sp,llvm::StringRef description,bool is_global_property) CreateSettingForPlatformPlugin() argument
1702 GetSettingForProcessPlugin(Debugger & debugger,llvm::StringRef setting_name) GetSettingForProcessPlugin() argument
1708 CreateSettingForProcessPlugin(Debugger & debugger,const lldb::OptionValuePropertiesSP & properties_sp,llvm::StringRef description,bool is_global_property) CreateSettingForProcessPlugin() argument
1716 GetSettingForSymbolLocatorPlugin(Debugger & debugger,llvm::StringRef setting_name) GetSettingForSymbolLocatorPlugin() argument
1722 CreateSettingForSymbolLocatorPlugin(Debugger & debugger,const lldb::OptionValuePropertiesSP & properties_sp,llvm::StringRef description,bool is_global_property) CreateSettingForSymbolLocatorPlugin() argument
1730 CreateSettingForTracePlugin(Debugger & debugger,const lldb::OptionValuePropertiesSP & properties_sp,llvm::StringRef description,bool is_global_property) CreateSettingForTracePlugin() argument
1738 GetSettingForObjectFilePlugin(Debugger & debugger,llvm::StringRef setting_name) GetSettingForObjectFilePlugin() argument
1744 CreateSettingForObjectFilePlugin(Debugger & debugger,const lldb::OptionValuePropertiesSP & properties_sp,llvm::StringRef description,bool is_global_property) CreateSettingForObjectFilePlugin() argument
1752 GetSettingForSymbolFilePlugin(Debugger & debugger,llvm::StringRef setting_name) GetSettingForSymbolFilePlugin() argument
1758 CreateSettingForSymbolFilePlugin(Debugger & debugger,const lldb::OptionValuePropertiesSP & properties_sp,llvm::StringRef description,bool is_global_property) CreateSettingForSymbolFilePlugin() argument
1766 GetSettingForJITLoaderPlugin(Debugger & debugger,llvm::StringRef setting_name) GetSettingForJITLoaderPlugin() argument
1772 CreateSettingForJITLoaderPlugin(Debugger & debugger,const lldb::OptionValuePropertiesSP & properties_sp,llvm::StringRef description,bool is_global_property) CreateSettingForJITLoaderPlugin() argument
1782 GetSettingForOperatingSystemPlugin(Debugger & debugger,llvm::StringRef setting_name) GetSettingForOperatingSystemPlugin() argument
1797 CreateSettingForOperatingSystemPlugin(Debugger & debugger,const lldb::OptionValuePropertiesSP & properties_sp,llvm::StringRef description,bool is_global_property) CreateSettingForOperatingSystemPlugin() argument
1815 GetSettingForStructuredDataPlugin(Debugger & debugger,llvm::StringRef setting_name) GetSettingForStructuredDataPlugin() argument
1821 CreateSettingForStructuredDataPlugin(Debugger & debugger,const lldb::OptionValuePropertiesSP & properties_sp,llvm::StringRef description,bool is_global_property) CreateSettingForStructuredDataPlugin() argument
[all...]
H A DIOHandler.cpp55 IOHandler::IOHandler(Debugger &debugger, IOHandler::Type type) in IOHandler() argument
56 : IOHandler(debugger, type, in IOHandler()
64 IOHandler::IOHandler(Debugger &debugger, IOHandler::Type type, in IOHandler() argument
68 : m_debugger(debugger), m_input_sp(input_sp), m_output_sp(output_sp), in IOHandler()
73 debugger.AdoptTopIOHandlerFilesIfInvalid(m_input_sp, m_output_sp, in IOHandler()
136 IOHandlerConfirm::IOHandlerConfirm(Debugger &debugger, llvm::StringRef prompt, in IOHandlerConfirm() argument
139 debugger, IOHandler::Type::Confirm, in IOHandlerConfirm()
226 Debugger &debugger, IOHandler::Type type, in IOHandlerEditline() argument
231 : IOHandlerEditline(debugger, type, in IOHandlerEditline()
241 Debugger &debugger, IOHandler::Type type, const lldb::FileSP &input_sp, in IOHandlerEditline() argument
[all …]
H A DProgress.cpp25 lldb_private::Debugger *debugger) in Progress()
33 if (debugger) in Progress()
34 m_progress_data.debugger_id = debugger->GetID(); in Progress()
23 Progress(std::string title,std::string details,std::optional<uint64_t> total,lldb_private::Debugger * debugger) Progress() argument
H A DStreamAsynchronousIO.cpp17 StreamAsynchronousIO::StreamAsynchronousIO(Debugger &debugger, bool for_stdout, in StreamAsynchronousIO() argument
19 : Stream(0, 4, eByteOrderBig, colors), m_debugger(debugger), m_data(), in StreamAsynchronousIO()
/freebsd-src/contrib/llvm-project/lldb/include/lldb/Core/
H A DPluginManager.h276 Debugger &debugger);
281 /// callbacks for debugger initialization and Process launch info
507 // debugger instance.
508 static void DebuggerInitialize(Debugger &debugger);
511 GetSettingForDynamicLoaderPlugin(Debugger &debugger,
515 Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp,
519 GetSettingForPlatformPlugin(Debugger &debugger, llvm::StringRef setting_name);
522 Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp,
526 GetSettingForProcessPlugin(Debugger &debugger, llvm::StringRef setting_name);
529 Debugger &debugger, cons
[all...]
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/
H A DScriptInterpreterLua.cpp39 IOHandlerLuaInterpreter(Debugger &debugger, in IOHandlerLuaInterpreter() argument
42 : IOHandlerEditline(debugger, IOHandler::Type::LuaInterpreter, "lua", in IOHandlerLuaInterpreter()
44 true, debugger.GetUseColor(), 0, *this), in IOHandlerLuaInterpreter()
48 debugger.GetOutputFile().GetStream(), in IOHandlerLuaInterpreter()
49 debugger.GetErrorFile().GetStream())); in IOHandlerLuaInterpreter()
50 llvm::cantFail(m_script_interpreter.EnterSession(debugger.GetID())); in IOHandlerLuaInterpreter()
146 ScriptInterpreterLua::ScriptInterpreterLua(Debugger &debugger) in ScriptInterpreterLua() argument
147 : ScriptInterpreter(debugger, eScriptLanguageLua), in ScriptInterpreterLua()
282 Debugger &debugger = target->GetDebugger(); in BreakpointCallbackFunction() local
284 debugger.GetScriptInterpreter(true, eScriptLanguageLua)); in BreakpointCallbackFunction()
[all …]
/freebsd-src/contrib/llvm-project/lldb/tools/driver/
H A DOptions.td15 HelpText<"Tells the debugger to attach to a process with the given name.">,
23 …HelpText<"Tells the debugger to wait for a process with the given pid or name to launch before att…
32 HelpText<"Tells the debugger to attach to a process with the given pid.">,
57 HelpText<"Tells the debugger to use the specified scripting language for user-defined scripts.">,
105 …HelpText<"Allow the debugger to parse the .lldbinit files in the current working directory, unless…
109 HelpText<"Tells the debugger to run the commands from -s, -S, -o & -O, and then quit.">,
117 …HelpText<"Tells the debugger not to echo commands while sourcing files or one-line commands provid…
126 …HelpText<"When in batch mode, tells the debugger to run this one-line lldb command if the target c…
135 …HelpText<"When in batch mode, tells the debugger to source this file of lldb commands if the targe…
144 …HelpText<"Tells the debugger to read in and execute the lldb commands in the given file, after any…
[all …]
/freebsd-src/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectGUI.cpp29 Debugger &debugger = GetDebugger(); in DoExecute() local
31 File &input = debugger.GetInputFile(); in DoExecute()
32 File &output = debugger.GetOutputFile(); in DoExecute()
35 IOHandlerSP io_handler_sp(new IOHandlerCursesGUI(debugger)); in DoExecute()
37 debugger.RunIOHandlerAsync(io_handler_sp); in DoExecute()
/freebsd-src/contrib/llvm-project/lldb/docs/man/
H A Dlldb.rst16 :program:`lldb` is a next generation, high-performance debugger. It is built as
20 :program:`lldb` is the default debugger in Xcode on macOS and supports
31 Tells the debugger to attach to a process with the given name.
35 Tells the debugger to attach to a process with the given pid.
47 Tells the debugger to wait for a process with the given pid or name to launch before attaching.
58 Tells the debugger to run the commands from -s, -S, -o & -O, and then quit.
74 …Allow the debugger to parse the .lldbinit files in the current working directory, unless --no-lldb…
82 …Tells the debugger to execute this one-line lldb command before any file provided on the command l…
86 When in batch mode, tells the debugger to run this one-line lldb command if the target crashes.
90 …Tells the debugger to execute this one-line lldb command after any file provided on the command li…
[all …]
/freebsd-src/contrib/llvm-project/lldb/source/Target/
H A DTargetList.cpp38 TargetList::TargetList(Debugger &debugger) in TargetList() argument
39 : Broadcaster(debugger.GetBroadcasterManager(), in TargetList()
45 Status TargetList::CreateTarget(Debugger &debugger, in CreateTarget() argument
53 debugger, user_exe_path, triple_str, load_dependent_files, in CreateTarget()
61 Status TargetList::CreateTarget(Debugger &debugger, in CreateTarget() argument
68 debugger, user_exe_path, specified_arch, load_dependent_files, in CreateTarget()
77 Debugger &debugger, llvm::StringRef user_exe_path, in CreateTargetInternal() argument
82 PlatformList &platform_list = debugger.GetPlatformList(); in CreateTargetInternal()
104 debugger.GetCommandInterpreter(), arch, select_platform, error, in CreateTargetInternal()
241 return TargetList::CreateTargetInternal(debugger, user_exe_pat in CreateTargetInternal()
246 CreateTargetInternal(Debugger & debugger,llvm::StringRef user_exe_path,const ArchSpec & specified_arch,LoadDependentFiles load_dependent_files,lldb::PlatformSP & platform_sp,lldb::TargetSP & target_sp) CreateTargetInternal() argument
[all...]
H A DStructuredDataPlugin.cpp45 void StructuredDataPlugin::InitializeBasePluginForDebugger(Debugger &debugger) { in InitializeBasePluginForDebugger() argument
47 auto &interpreter = debugger.GetCommandInterpreter(); in InitializeBasePluginForDebugger()
51 debugger.GetCommandInterpreter().GetCommandObject("plugin"); in InitializeBasePluginForDebugger()
H A DRemoteAwarePlatform.cpp255 Debugger &debugger, in CreateSymlink()
260 debugger, target, error); in GetFileExists()
261 return Platform::ConnectProcess(connect_url, plugin_name, debugger, target, in GetFileExists()
277 size_t RemoteAwarePlatform::ConnectToWaitingProcesses(Debugger &debugger, in GetRemoteWorkingDirectory()
280 return m_remote_platform_sp->ConnectToWaitingProcesses(debugger, error); in GetRemoteWorkingDirectory()
281 return Platform::ConnectToWaitingProcesses(debugger, error);
368 ConnectProcess(llvm::StringRef connect_url,llvm::StringRef plugin_name,Debugger & debugger,Target * target,Status & error) ConnectProcess() argument
390 ConnectToWaitingProcesses(Debugger & debugger,Status & error) ConnectToWaitingProcesses() argument
/freebsd-src/contrib/llvm-project/lldb/source/Interpreter/
H A DScriptInterpreter.cpp30 ScriptInterpreter::ScriptInterpreter(Debugger &debugger, in ScriptInterpreter() argument
32 : m_debugger(debugger), m_script_lang(script_lang) {} in ScriptInterpreter()
180 ScriptInterpreterIORedirect::Create(bool enable_io, Debugger &debugger, in Create()
184 new ScriptInterpreterIORedirect(debugger, result)); in ScriptInterpreterIORedirect()
209 Debugger &debugger, CommandReturnObject *result) in ScriptInterpreterIORedirect()
214 m_input_file_sp = debugger.GetInputFileSP(); in ScriptInterpreterIORedirect()
242 result->SetImmediateOutputFile(debugger.GetOutputStream().GetFileSP());
243 result->SetImmediateErrorFile(debugger.GetErrorStream().GetFileSP()); in ~ScriptInterpreterIORedirect()
248 debugger.AdoptTopIOHandlerFilesIfInvalid(m_input_file_sp, m_output_file_sp, in ~ScriptInterpreterIORedirect()
164 Create(bool enable_io,Debugger & debugger,CommandReturnObject * result) Create() argument
193 ScriptInterpreterIORedirect(Debugger & debugger,CommandReturnObject * result) ScriptInterpreterIORedirect() argument
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/None/
H A DScriptInterpreterNone.cpp24 ScriptInterpreterNone::ScriptInterpreterNone(Debugger &debugger) in LLDB_PLUGIN_DEFINE()
25 : ScriptInterpreter(debugger, eScriptLanguageNone) {} in LLDB_PLUGIN_DEFINE()
57 ScriptInterpreterNone::CreateInstance(Debugger &debugger) { in CreateInstance() argument
58 return std::make_shared<ScriptInterpreterNone>(debugger); in CreateInstance()
H A DScriptInterpreterNone.h18 ScriptInterpreterNone(Debugger &debugger);
33 static lldb::ScriptInterpreterSP CreateInstance(Debugger &debugger);
/freebsd-src/contrib/llvm-project/lldb/include/lldb/Target/
H A DTargetList.h32 TargetList(Debugger &debugger);
59 /// \param[in] debugger
60 /// The debugger to associate this target with
87 Status CreateTarget(Debugger &debugger, llvm::StringRef user_exe_path,
97 Status CreateTarget(Debugger &debugger, llvm::StringRef user_exe_path,
205 Debugger &debugger, llvm::StringRef user_exe_path,
209 static Status CreateTargetInternal(Debugger &debugger,
/freebsd-src/contrib/llvm-project/lldb/source/API/
H A DSBListener.cpp74 uint32_t SBListener::StartListeningForEventClass(SBDebugger &debugger, in StartListeningForEventClass() argument
77 LLDB_INSTRUMENT_VA(this, debugger, broadcaster_class, event_mask); in StartListeningForEventClass()
80 Debugger *lldb_debugger = debugger.get(); in StartListeningForEventClass()
90 bool SBListener::StopListeningForEventClass(SBDebugger &debugger, in StopListeningForEventClass() argument
93 LLDB_INSTRUMENT_VA(this, debugger, broadcaster_class, event_mask); in StopListeningForEventClass()
96 Debugger *lldb_debugger = debugger.get(); in StopListeningForEventClass()
H A DSBSourceManager.cpp72 SBSourceManager::SBSourceManager(const SBDebugger &debugger) { in SBSourceManager() argument
73 LLDB_INSTRUMENT_VA(this, debugger); in SBSourceManager()
75 m_opaque_up = std::make_unique<SourceManagerImpl>(debugger.get_sp()); in SBSourceManager()
H A DSBTrace.cpp31 SBTrace SBTrace::LoadTraceFromFile(SBError &error, SBDebugger &debugger, in LoadTraceFromFile() argument
33 LLDB_INSTRUMENT_VA(error, debugger, trace_description_file); in LoadTraceFromFile()
36 debugger.ref(), trace_description_file.ref()); in LoadTraceFromFile()
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/Platform/QemuUser/
H A DPlatformQemuUser.h39 Debugger &debugger, Target &target,
42 lldb::ProcessSP Attach(ProcessAttachInfo &attach_info, Debugger &debugger, in Attach() argument
74 static void DebuggerInitialize(Debugger &debugger);
H A DPlatformQemuUser.cpp91 void PlatformQemuUser::DebuggerInitialize(Debugger &debugger) { in DebuggerInitialize() argument
92 if (!PluginManager::GetSettingForPlatformPlugin(debugger, in DebuggerInitialize()
95 debugger, GetGlobalProperties().GetValueProperties(), in DebuggerInitialize()
161 Debugger &debugger, in DebugProcess() argument
/freebsd-src/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-private-interfaces.h86 Debugger &debugger);
125 Debugger *debugger, Target *target,
128 typedef void (*DebuggerInitializeCallback)(Debugger &debugger);
133 llvm::StringRef session_file_dir, lldb_private::Debugger &debugger);
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptInterpreterPython.h44 ScriptInterpreterPython(Debugger &debugger) in ScriptInterpreterPython() argument
45 : ScriptInterpreter(debugger, lldb::eScriptLanguagePython), in ScriptInterpreterPython()
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/REPL/Clang/
H A DClangREPL.h31 Debugger *debugger, Target *target,
51 bool PrintOneVariable(Debugger &debugger, lldb::StreamFileSP &output_sp,

1234567