Home
last modified time | relevance | path

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

12345678

/freebsd-12-stable/contrib/llvm-project/lldb/source/Expression/
DREPL.cpp27 Debugger &debugger = m_target.GetDebugger(); in REPL() local
28 auto exe_ctx = debugger.GetCommandInterpreter().GetExecutionContext(); in REPL()
36 Debugger *debugger, Target *target, in Create() argument
43 ret = (*create_instance)(err, language, debugger, target, repl_options); in Create()
68 Debugger &debugger = m_target.GetDebugger(); in GetIOHandler() local
70 debugger, IOHandler::Type::REPL, in GetIOHandler()
85 m_indent_str.assign(debugger.GetTabSize(), ' '); in GetIOHandler()
86 m_enable_auto_indent = debugger.GetAutoIndent(); in GetIOHandler()
224 Debugger &debugger = m_target.GetDebugger(); in IOHandlerInputComplete() local
225 CommandInterpreter &ci = debugger.GetCommandInterpreter(); in IOHandlerInputComplete()
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/source/Core/
DPluginManager.cpp257 void PerformDebuggerCallback(Debugger &debugger) { in PerformDebuggerCallback() argument
260 instance.debugger_init_callback(debugger); in PerformDebuggerCallback()
885 Debugger &debugger) { in GetScriptInterpreterForLanguage() argument
893 return instance.create_callback(debugger); in GetScriptInterpreterForLanguage()
898 return none_instance(debugger); in GetScriptInterpreterForLanguage()
1337 void PluginManager::DebuggerInitialize(Debugger &debugger) { in DebuggerInitialize() argument
1338 GetDynamicLoaderInstances().PerformDebuggerCallback(debugger); in DebuggerInitialize()
1339 GetJITLoaderInstances().PerformDebuggerCallback(debugger); in DebuggerInitialize()
1340 GetPlatformInstances().PerformDebuggerCallback(debugger); in DebuggerInitialize()
1341 GetProcessInstances().PerformDebuggerCallback(debugger); in DebuggerInitialize()
[all …]
DIOHandler.cpp56 IOHandler::IOHandler(Debugger &debugger, IOHandler::Type type) in IOHandler() argument
57 : IOHandler(debugger, type, in IOHandler()
65 IOHandler::IOHandler(Debugger &debugger, IOHandler::Type type, in IOHandler() argument
70 : m_debugger(debugger), m_input_sp(input_sp), m_output_sp(output_sp), in IOHandler()
76 debugger.AdoptTopIOHandlerFilesIfInvalid(m_input_sp, m_output_sp, in IOHandler()
134 IOHandlerConfirm::IOHandlerConfirm(Debugger &debugger, llvm::StringRef prompt, in IOHandlerConfirm() argument
137 debugger, IOHandler::Type::Confirm, in IOHandlerConfirm()
224 Debugger &debugger, IOHandler::Type type, in IOHandlerEditline() argument
229 : IOHandlerEditline(debugger, type, in IOHandlerEditline()
239 Debugger &debugger, IOHandler::Type type, const lldb::FileSP &input_sp, in IOHandlerEditline() argument
[all …]
DProgress.cpp20 lldb_private::Debugger *debugger) in Progress() argument
23 if (debugger) in Progress()
24 m_debugger_id = debugger->GetID(); in Progress()
DStreamAsynchronousIO.cpp17 StreamAsynchronousIO::StreamAsynchronousIO(Debugger &debugger, bool for_stdout) in StreamAsynchronousIO() argument
18 : Stream(0, 4, eByteOrderBig), m_debugger(debugger), m_data(), in StreamAsynchronousIO()
/freebsd-12-stable/contrib/llvm-project/lldb/tools/driver/
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.">,
53 HelpText<"Tells the debugger to use the specified scripting language for user-defined scripts.">,
101 …HelpText<"Allow the debugger to parse the .lldbinit files in the current working directory, unless…
105 HelpText<"Tells the debugger to run the commands from -s, -S, -o & -O, and then quit.">,
113 …HelpText<"Tells the debugger to execute this one-line lldb command before any file has been loaded…
122 …HelpText<"When in batch mode, tells the debugger to run this one-line lldb command if the target c…
131 …HelpText<"When in batch mode, tells the debugger to source this file of lldb commands if the targe…
140 …HelpText<"Tells the debugger to read in and execute the lldb commands in the given file, after any…
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/
DScriptInterpreterLua.cpp39 IOHandlerLuaInterpreter(Debugger &debugger, in IOHandlerLuaInterpreter() argument
42 : IOHandlerEditline(debugger, IOHandler::Type::LuaInterpreter, "lua", in IOHandlerLuaInterpreter()
43 ">>> ", "..> ", true, debugger.GetUseColor(), 0, 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()
145 ScriptInterpreterLua::ScriptInterpreterLua(Debugger &debugger) in ScriptInterpreterLua() argument
146 : ScriptInterpreter(debugger, eScriptLanguageLua), in ScriptInterpreterLua()
276 Debugger &debugger = target->GetDebugger(); in BreakpointCallbackFunction() local
278 debugger.GetScriptInterpreter(true, eScriptLanguageLua)); in BreakpointCallbackFunction()
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Core/
DPluginManager.h262 Debugger &debugger);
458 static void DebuggerInitialize(Debugger &debugger);
461 GetSettingForDynamicLoaderPlugin(Debugger &debugger,
465 Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp,
469 GetSettingForPlatformPlugin(Debugger &debugger, ConstString setting_name);
472 Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp,
476 GetSettingForProcessPlugin(Debugger &debugger, ConstString setting_name);
479 Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp,
483 GetSettingForSymbolFilePlugin(Debugger &debugger, ConstString setting_name);
486 Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp,
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/docs/man/
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-12-stable/contrib/llvm-project/lldb/source/Commands/
DCommandObjectGUI.cpp30 Debugger &debugger = GetDebugger(); in DoExecute() local
32 File &input = debugger.GetInputFile(); in DoExecute()
33 File &output = debugger.GetOutputFile(); in DoExecute()
36 IOHandlerSP io_handler_sp(new IOHandlerCursesGUI(debugger)); in DoExecute()
38 debugger.RunIOHandlerAsync(io_handler_sp); in DoExecute()
DCommandObjectExpression.cpp522 Debugger &debugger = GetCommandInterpreter().GetDebugger(); in GetMultilineExpression() local
523 bool color_prompt = debugger.GetUseColor(); in GetMultilineExpression()
526 new IOHandlerEditline(debugger, IOHandler::Type::Expression, in GetMultilineExpression()
540 debugger.RunIOHandlerAsync(io_handler_sp); in GetMultilineExpression()
590 Debugger &debugger = target.GetDebugger(); in DoExecute() local
594 if (debugger.CheckTopIOHandlerTypes(IOHandler::Type::CommandInterpreter, in DoExecute()
628 debugger.RunIOHandlerAsync(io_handler_sp); in DoExecute()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Interpreter/
DScriptInterpreter.cpp30 Debugger &debugger, lldb::ScriptLanguage script_lang, in ScriptInterpreter() argument
32 : m_debugger(debugger), m_script_lang(script_lang), in ScriptInterpreter()
137 ScriptInterpreterIORedirect::Create(bool enable_io, Debugger &debugger, in Create() argument
141 new ScriptInterpreterIORedirect(debugger, result)); in Create()
166 Debugger &debugger, CommandReturnObject *result) in ScriptInterpreterIORedirect() argument
171 m_input_file_sp = debugger.GetInputFileSP(); in ScriptInterpreterIORedirect()
199 result->SetImmediateOutputFile(debugger.GetOutputStream().GetFileSP()); in ScriptInterpreterIORedirect()
200 result->SetImmediateErrorFile(debugger.GetErrorStream().GetFileSP()); in ScriptInterpreterIORedirect()
205 debugger.AdoptTopIOHandlerFilesIfInvalid(m_input_file_sp, m_output_file_sp, in ScriptInterpreterIORedirect()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Target/
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
83 PlatformSP platform_sp = debugger.GetPlatformList().GetSelectedPlatform(); in CreateTargetInternal()
103 debugger.GetCommandInterpreter(), arch, select_platform, error, in CreateTargetInternal()
263 debugger.GetPlatformList().SetSelectedPlatform(platform_sp); in CreateTargetInternal()
[all …]
DStructuredDataPlugin.cpp45 void StructuredDataPlugin::InitializeBasePluginForDebugger(Debugger &debugger) { in InitializeBasePluginForDebugger() argument
47 auto &interpreter = debugger.GetCommandInterpreter(); in InitializeBasePluginForDebugger()
51 debugger.GetCommandInterpreter().GetCommandObject("plugin"); in InitializeBasePluginForDebugger()
DStopInfo.cpp453 Debugger &debugger = exe_ctx.GetTargetRef().GetDebugger(); in PerformAction() local
454 StreamSP error_sp = debugger.GetAsyncErrorStream(); in PerformAction()
525 Debugger &debugger = thread_sp->CalculateTarget()->GetDebugger(); in PerformAction() local
526 bool old_async = debugger.GetAsyncExecution(); in PerformAction()
527 debugger.SetAsyncExecution(true); in PerformAction()
531 debugger.SetAsyncExecution(old_async); in PerformAction()
825 Debugger &debugger = exe_ctx.GetTargetRef().GetDebugger(); in PerformAction() local
864 StreamSP error_sp = debugger.GetAsyncErrorStream(); in PerformAction()
890 bool old_async = debugger.GetAsyncExecution(); in PerformAction()
891 debugger.SetAsyncExecution(true); in PerformAction()
[all …]
DRemoteAwarePlatform.cpp409 Debugger &debugger, in ConnectProcess() argument
414 debugger, target, error); in ConnectProcess()
415 return Platform::ConnectProcess(connect_url, plugin_name, debugger, target, in ConnectProcess()
441 size_t RemoteAwarePlatform::ConnectToWaitingProcesses(Debugger &debugger, in ConnectToWaitingProcesses() argument
444 return m_remote_platform_sp->ConnectToWaitingProcesses(debugger, error); in ConnectToWaitingProcesses()
445 return Platform::ConnectToWaitingProcesses(debugger, error); in ConnectToWaitingProcesses()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/None/
DScriptInterpreterNone.cpp25 ScriptInterpreterNone::ScriptInterpreterNone(Debugger &debugger) in LLDB_PLUGIN_DEFINE()
26 : ScriptInterpreter(debugger, eScriptLanguageNone) {} in LLDB_PLUGIN_DEFINE()
56 ScriptInterpreterNone::CreateInstance(Debugger &debugger) { in CreateInstance() argument
57 return std::make_shared<ScriptInterpreterNone>(debugger); in CreateInstance()
DScriptInterpreterNone.h18 ScriptInterpreterNone(Debugger &debugger);
33 static lldb::ScriptInterpreterSP CreateInstance(Debugger &debugger);
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Target/
DTargetList.h32 TargetList(Debugger &debugger);
87 Status CreateTarget(Debugger &debugger, llvm::StringRef user_exe_path,
97 Status CreateTarget(Debugger &debugger, llvm::StringRef user_exe_path,
198 Debugger &debugger, llvm::StringRef user_exe_path,
202 static Status CreateTargetInternal(Debugger &debugger,
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/
Dlldb-private-interfaces.h83 Debugger &debugger);
112 Debugger *debugger, Target *target,
115 typedef void (*DebuggerInitializeCallback)(Debugger &debugger);
120 llvm::StringRef session_file_dir, lldb_private::Debugger &debugger);
/freebsd-12-stable/contrib/llvm-project/lldb/source/API/
DSBListener.cpp79 uint32_t SBListener::StartListeningForEventClass(SBDebugger &debugger, in StartListeningForEventClass() argument
83 (lldb::SBDebugger &, const char *, uint32_t), debugger, in StartListeningForEventClass()
87 Debugger *lldb_debugger = debugger.get(); in StartListeningForEventClass()
97 bool SBListener::StopListeningForEventClass(SBDebugger &debugger, in StopListeningForEventClass() argument
101 (lldb::SBDebugger &, const char *, uint32_t), debugger, in StopListeningForEventClass()
105 Debugger *lldb_debugger = debugger.get(); in StopListeningForEventClass()
DSBSourceManager.cpp74 SBSourceManager::SBSourceManager(const SBDebugger &debugger) { in SBSourceManager() argument
76 debugger); in SBSourceManager()
78 m_opaque_up = std::make_unique<SourceManagerImpl>(debugger.get_sp()); in SBSourceManager()
/freebsd-12-stable/sys/mips/mips/
Dlocore.S185 REG_S zero, CALLFRAME_RA(sp) # Zero out old ra for debugger
186 REG_S zero, CALLFRAME_SP(sp) # Zero out old fp for debugger
201 sw zero, CALLFRAME_SIZ - 8(sp) # Zero out old fp for debugger
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DScriptInterpreterPython.h47 ScriptInterpreterPython(Debugger &debugger) in ScriptInterpreterPython() argument
48 : ScriptInterpreter(debugger, lldb::eScriptLanguagePython), in ScriptInterpreterPython()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Platform/gdb-server/
DPlatformRemoteGDBServer.cpp479 ProcessLaunchInfo &launch_info, Debugger &debugger, in DebugProcess() argument
495 error = debugger.GetTargetList().CreateTarget( in DebugProcess()
496 debugger, "", "", eLoadDependentsNo, nullptr, new_target_sp); in DebugProcess()
563 ProcessAttachInfo &attach_info, Debugger &debugger, in Attach() argument
579 error = debugger.GetTargetList().CreateTarget( in Attach()
580 debugger, "", "", eLoadDependentsNo, nullptr, new_target_sp); in Attach()
589 target->CreateProcess(attach_info.GetListenerForProcess(debugger), in Attach()
840 size_t PlatformRemoteGDBServer::ConnectToWaitingProcesses(Debugger &debugger, in ConnectToWaitingProcesses() argument
846 ConnectProcess(connection_urls[i].c_str(), "gdb-remote", debugger, nullptr, error); in ConnectToWaitingProcesses()

12345678