/freebsd/contrib/llvm-project/lldb/source/Core/ |
H A D | Debugger.cpp | 1 //===-- Debugger.cpp ------------------------------------------------------===// 9 #include "lldb/Core/Debugger.h" 105 static Debugger::DebuggerList *g_debugger_list_ptr = 111 Debugger::eStopDisassemblyTypeNever, 116 Debugger::eStopDisassemblyTypeNoDebugInfo, 121 Debugger::eStopDisassemblyTypeNoSource, 128 Debugger::eStopDisassemblyTypeAlways, 198 LoadPluginCallbackType Debugger::g_load_plugin_callback = nullptr; 200 Status Debugger::SetPropertyValue(const ExecutionContext *exe_ctx, in SetPropertyValue() 273 bool Debugger::GetAutoConfirm() const { in GetAutoConfirm() [all …]
|
H A D | PluginManager.cpp | 11 #include "lldb/Core/Debugger.h" 257 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() [all …]
|
H A D | IOHandler.cpp | 16 #include "lldb/Core/Debugger.h" 55 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, llv argument 226 IOHandlerEditline(Debugger & debugger,IOHandler::Type type,const char * editline_name,llvm::StringRef prompt,llvm::StringRef continuation_prompt,bool multi_line,bool color_prompts,uint32_t line_number_start,IOHandlerDelegate & delegate) IOHandlerEditline() argument 241 IOHandlerEditline(Debugger & debugger,IOHandler::Type type,const lldb::FileSP & input_sp,const lldb::StreamFileSP & output_sp,const lldb::StreamFileSP & error_sp,uint32_t flags,const char * editline_name,llvm::StringRef prompt,llvm::StringRef continuation_prompt,bool multi_line,bool color_prompts,uint32_t line_number_start,IOHandlerDelegate & delegate) IOHandlerEditline() argument [all...] |
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | PluginManager.h | 46 class Debugger; variable 276 Debugger &debugger); 281 /// callbacks for debugger initialization and Process launch info 295 /// An optional callback that will be made when a Debugger 504 // registering the plug-in. After a new Debugger instance is created, this 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); [all …]
|
H A D | Debugger.h | 1 //===-- Debugger.h ----------------------------------------------*- C++ -*-===// 73 /// \class Debugger Debugger.h "lldb/Core/Debugger.h" 76 /// Provides a global root objects for the debugger core. 78 class Debugger : public std::enable_shared_from_this<Debugger>, 86 /// Get the public broadcaster for this debugger. 90 ~Debugger() override; 179 // This returns the Debugger's scratch source manager. It won't be able to 192 /// The target list is part of the global debugger object. This the single 193 /// debugger shared instance to control where targets get created and to 385 /// Debugger::InterruptRequested and if that returns true, they should return [all …]
|
H A D | IOHandler.h | 33 class Debugger; variable 59 IOHandler(Debugger &debugger, IOHandler::Type type); 61 IOHandler(Debugger &debugger, IOHandler::Type type, 78 // Debugger::DispatchInputInterrupt to be called. 133 Debugger &GetDebugger() { return m_debugger; } in GetDebugger() 167 Debugger &m_debugger; 328 IOHandlerEditline(Debugger &debugger, IOHandle [all...] |
/freebsd/usr.bin/clang/lldb/ |
H A D | lldb.1 | 40 \fBlldb\fP is a next generation, high\-performance debugger. It is built as 44 \fBlldb\fP is the default debugger in Xcode on macOS and supports 53 Tells the debugger to attach to a process with the given name. 58 Tells the debugger to attach to a process with the given pid. 73 Tells the debugger to wait for a process with the given pid or name to launch before attaching. 84 Tells the debugger to run the commands from \-s, \-S, \-o & \-O, and then quit. 104 Allow the debugger to parse the .lldbinit files in the current working directory, unless \-\-no\-ll… 114 Tells the debugger to execute this one\-line lldb command before any file provided on the command l… 119 When in batch mode, tells the debugger to run this one\-line lldb command if the target crashes. 124 Tells the debugger to execute this one\-line lldb command after any file provided on the command li… [all …]
|
/freebsd/contrib/llvm-project/lldb/docs/man/ |
H A D | lldb.rst | 3 lldb -- The Debugger 16 :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. [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Expression/ |
H A D | REPL.cpp | 10 #include "lldb/Core/Debugger.h" 29 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 in GetIOHandler() local 232 Debugger &debugger = m_target.GetDebugger(); 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/Plugins/ScriptInterpreter/Lua/ |
H A D | ScriptInterpreterLua.cpp | 12 #include "lldb/Core/Debugger.h" 39 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 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 D | Options.td | 15 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/sys/sys/ |
H A D | kdb.h | 65 extern u_char kdb_active; /* Non-zero while in debugger. */ 66 extern int debugger_on_panic; /* enter the debugger on panic. */ 67 extern int debugger_on_trap; /* enter the debugger on trap. */ 68 extern struct kdb_dbbe *kdb_dbbe; /* Default debugger backend or NULL. */ 95 * KDB enters the debugger via breakpoint(), which leaves the debugger without 107 #define KDB_WHY_SYSCTL "sysctl" /* Sysctl entered debugger. */ 109 #define KDB_WHY_WITNESS "witness" /* Witness entered debugger. */ 111 #define KDB_WHY_NETGRAPH "netgraph" /* Netgraph entered debugger. */ 113 #define KDB_WHY_WATCHDOG "watchdog" /* Watchdog entered debugger. */ 114 #define KDB_WHY_CAM "cam" /* CAM has entered debugger. */ [all …]
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_debugger.h | 3 * kmp_debugger.h -- debugger support. 21 /* This external variable can be set by any debugger to flag to the runtime 22 that we are currently executing inside a debugger. This will allow the 23 debugger to override the number of threads spawned in a parallel region by 26 identifier that can be used by debugger to conveniently identify teams and 28 * The debugger has access to __kmp_omp_debug_struct_info which contains 30 access will allow the debugger to read detailed information from the typical 35 // Return number of threads specified by the debugger for given parallel region. 37 the debugger has changed the number of threads for the parallel region at 39 threads can be changed at the debugger's request. */
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/ |
H A D | TargetList.h | 23 friend class Debugger; 29 /// lldb_private::Debugger::GetSharedInstance().GetTargetList(). 31 /// \see static TargetList& lldb_private::Debugger::GetTargetList(). 32 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/contrib/llvm-project/lldb/bindings/interface/ |
H A D | SBDebuggerDocstrings.i | 17 # Create a new debugger instance 18 debugger = lldb.SBDebugger.Create() 22 debugger.SetAsync (False) 27 target = debugger.CreateTargetWithFileAndArch (exe, lldb.LLDB_ARCH_DEFAULT) 95 … print('Unexpected process state: %s, killing process...' % debugger.StateAsCString (state)) 102 target = debugger.CreateTarget('') 104 process = target.AttachToProcessWithName(debugger.GetListener(), 'PROCESS_NAME', False, error) 114 "Return true if target is deleted from the target list of the debugger." 139 from the input handle specified for the debugger object. Output/errors are 156 # Start an interactive lldb session from a script (with a valid debugger object [all …]
|
/freebsd/share/man/man4/ |
H A D | ddb.4 | 32 .Nd interactive kernel debugger 40 To prevent activation of the debugger on kernel 69 kernel debugger is an interactive debugger with a syntax inspired by 78 The debugger is also invoked on kernel 92 then the debugger will be invoked on a recursive kernel panic. 154 debugger has a pager feature (like the 186 .Ss COMMON DEBUGGER COMMANDS 377 If a user text is shadowed by a normal user space debugger, 440 The signal is acted on upon returning from the debugger. 475 when counting, the debugger is really silently single-stepping. [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | TargetList.cpp | 10 #include "lldb/Core/Debugger.h" 38 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() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Interpreter/ |
H A D | ScriptInterpreter.cpp | 10 #include "lldb/Core/Debugger.h" 30 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 D | ScriptInterpreterNone.cpp | 10 #include "lldb/Core/Debugger.h" 24 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
|
/freebsd/contrib/llvm-project/lldb/source/Commands/ |
H A D | CommandObjectGUI.cpp | 29 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/contrib/llvm-project/lldb/source/Plugins/Platform/QemuUser/ |
H A D | PlatformQemuUser.h | 39 Debugger &debugger, Target &target, 42 lldb::ProcessSP Attach(ProcessAttachInfo &attach_info, Debugger &debugger, in Attach() argument 74 static void DebuggerInitialize(Debugger &debugger);
|
/freebsd/contrib/llvm-project/lldb/include/lldb/ |
H A D | lldb-private-interfaces.h | 86 Debugger &debugger); 125 Debugger *debugger, Target *target, 128 typedef void (*DebuggerInitializeCallback)(Debugger &debugger); 133 llvm::StringRef session_file_dir, lldb_private::Debugger &debugger);
|
/freebsd/sys/kern/ |
H A D | subr_kdb.c | 109 "set to enter the debugger"); 138 &kdb_break_to_debugger, 0, "Enable break to debugger"); 142 &kdb_alt_break_to_debugger, 0, "Enable alternative break to debugger"); 150 * Flag to indicate to debuggers why the debugger was entered. 346 kdb_enter(KDB_WHY_BREAK, "Break to debugger"); in kdb_break() 397 kdb_enter(KDB_WHY_BREAK, "Break to debugger"); in kdb_alt_break_internal() 434 * the selected debugger, provided it supports backtraces. If no debugger 435 * is selected or the current debugger does not support backtraces, this 540 * Enter the currently selected debugger [all...] |
/freebsd/contrib/llvm-project/lldb/source/API/ |
H A D | SBListener.cpp | 14 #include "lldb/Core/Debugger.h" 74 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()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Expression/ |
H A D | REPL.h | 32 /// Get a REPL with an existing target (or, failing that, a debugger to use), 42 /// \param[in] debugger 43 /// If provided, and target is nullptr, the debugger to use when setting 56 Debugger *debugger, Target *target, 146 virtual bool PrintOneVariable(Debugger &debugger,
|