Home
last modified time | relevance | path

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

1234567

/freebsd/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 in IOHandlerInputComplete() local
501 Debugger &debugger = m_target.GetDebugger(); IOHandlerComplete() local
571 Debugger &debugger = m_target.GetDebugger(); RunLoop() local
[all...]
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DPluginManager.cpp257 void PerformDebuggerCallback(Debugger &debugger) { in PerformDebuggerCallback() argument
260 instance.debugger_init_callback(debugger); in PerformDebuggerCallback()
983 Debugger &debugger) { in GetScriptInterpreterForLanguage() argument
991 return instance.create_callback(debugger); in GetScriptInterpreterForLanguage()
996 return none_instance(debugger); in GetScriptInterpreterForLanguage()
1557 void PluginManager::DebuggerInitialize(Debugger &debugger) { in DebuggerInitialize() argument
1558 GetDynamicLoaderInstances().PerformDebuggerCallback(debugger); in DebuggerInitialize()
1559 GetJITLoaderInstances().PerformDebuggerCallback(debugger); in DebuggerInitialize()
1560 GetObjectFileInstances().PerformDebuggerCallback(debugger); in DebuggerInitialize()
1561 GetPlatformInstances().PerformDebuggerCallback(debugger); in DebuggerInitialize()
[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, IOHandle in IOHandlerEditline() argument
[all...]
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/contrib/llvm-project/lldb/include/lldb/Core/
H A DPluginManager.h276 Debugger &debugger);
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, const lldb::OptionValuePropertiesSP &properties_sp,
533 GetSettingForSymbolLocatorPlugin(Debugger &debugger,
537 Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp,
[all …]
/freebsd/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()
204 // At the moment, the only time the debugger does not have an input file in ExecuteInterpreterLoop()
246 "lldb.debugger in EnterSession()
282 Debugger &debugger = target->GetDebugger(); BreakpointCallbackFunction() local
310 Debugger &debugger = target->GetDebugger(); WatchpointCallbackFunction() local
394 CreateInstance(Debugger & debugger) CreateInstance() argument
[all...]
/freebsd/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/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/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()
H A DCommandObjectExpression.cpp545 Debugger &debugger = GetCommandInterpreter().GetDebugger(); in GetMultilineExpression() local
546 bool color_prompt = debugger.GetUseColor(); in GetMultilineExpression()
549 new IOHandlerEditline(debugger, IOHandler::Type::Expression, in GetMultilineExpression()
563 debugger.RunIOHandlerAsync(io_handler_sp); in GetMultilineExpression()
613 Debugger &debugger = target.GetDebugger(); in DoExecute() local
617 if (debugger.CheckTopIOHandlerTypes(IOHandler::Type::CommandInterpreter, in DoExecute()
651 debugger.RunIOHandlerAsync(io_handler_sp); in DoExecute()
/freebsd/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_path, in CreateTargetInternal()
[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 ConnectProcess() argument
260 debugger, target, error); in ConnectProcess()
261 return Platform::ConnectProcess(connect_url, plugin_name, debugger, target, in ConnectProcess()
277 size_t RemoteAwarePlatform::ConnectToWaitingProcesses(Debugger &debugger, in ConnectToWaitingProcesses() argument
280 return m_remote_platform_sp->ConnectToWaitingProcesses(debugger, error); in ConnectToWaitingProcesses()
281 return Platform::ConnectToWaitingProcesses(debugger, error); in ConnectToWaitingProcesses()
/freebsd/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() argument
184 new ScriptInterpreterIORedirect(debugger, result)); in Create()
209 Debugger &debugger, CommandReturnObject *result) in ScriptInterpreterIORedirect() argument
214 m_input_file_sp = debugger.GetInputFileSP(); in ScriptInterpreterIORedirect()
242 result->SetImmediateOutputFile(debugger.GetOutputStream().GetFileSP()); in ScriptInterpreterIORedirect()
243 result->SetImmediateErrorFile(debugger.GetErrorStream().GetFileSP()); in ScriptInterpreterIORedirect()
248 debugger.AdoptTopIOHandlerFilesIfInvalid(m_input_file_sp, m_output_file_sp, in ScriptInterpreterIORedirect()
/freebsd/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()
58 return std::make_shared<ScriptInterpreterNone>(debugger); in CreateInstance()
56 CreateInstance(Debugger & debugger) CreateInstance() argument
H A DScriptInterpreterNone.h18 ScriptInterpreterNone(Debugger &debugger);
33 static lldb::ScriptInterpreterSP CreateInstance(Debugger &debugger);
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A 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,
205 Debugger &debugger, llvm::StringRef user_exe_path,
209 static Status CreateTargetInternal(Debugger &debugger,
/freebsd/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) {
73 LLDB_INSTRUMENT_VA(this, debugger); in SBSourceManager() argument
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/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/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/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/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