Home
last modified time | relevance | path

Searched full:debugger (Results 1 – 25 of 660) sorted by relevance

12345678910>>...27

/freebsd-src/contrib/llvm-project/lldb/source/Core/
H A DDebugger.cpp1 //===-- 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 in GetAutoConfirm()
673 Debugger *debugger = (Debugger *)baton; LoadPluginCallback() local
830 Debugger::Debugger(lldb::LogOutputCallback log_callback, void *baton) Debugger() function in Debugger
1433 PrivateReportProgress(Debugger & debugger,uint64_t progress_id,std::string title,std::string details,uint64_t completed,uint64_t total,bool is_debugger_specific) PrivateReportProgress() argument
1474 PrivateReportDiagnostic(Debugger & debugger,DiagnosticEventData::Type type,std::string message,bool debugger_specific) PrivateReportDiagnostic() argument
[all...]
H A DPluginManager.cpp11 #include "lldb/Core/Debugger.h"
257 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()
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.cpp16 #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, 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()
[all …]
H A DProgress.cpp11 #include "lldb/Core/Debugger.h"
25 lldb_private::Debugger *debugger) in Progress()
33 if (debugger) in Progress()
34 m_progress_data.debugger_id = debugger->GetID(); in Progress()
78 Debugger::ReportProgress(m_progress_data.progress_id, m_progress_data.title,
172 Debugger::ReportProgress(progress_data.progress_id, progress_data.title, "",
23 Progress(std::string title,std::string details,std::optional<uint64_t> total,lldb_private::Debugger * debugger) Progress() argument
/freebsd-src/contrib/llvm-project/lldb/include/lldb/Core/
H A DPluginManager.h46 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
[all...]
H A DDebugger.h1 //===-- 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' in GetCommandInterpreter()
453 INTERRUPT_REQUESTED(debugger,...) global() argument
484 REPORT_INTERRUPTION(debugger,...) global() argument
[all...]
H A DIOHandler.h33 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, IOHandler::Type type,
337 IOHandlerEditline(Debugger &debugger, IOHandler::Type type,
349 IOHandlerEditline(Debugger &, IOHandler::Type, const char *, const char *,
353 IOHandlerEditline(Debugger &, IOHandler::Type, const lldb::FileSP &,
[all …]
/freebsd-src/usr.bin/clang/lldb/
H A Dlldb.140 \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-src/contrib/llvm-project/lldb/docs/man/
H A Dlldb.rst3 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-src/contrib/llvm-project/lldb/source/Expression/
H A DREPL.cpp10 #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 = 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()
[all …]
/freebsd-src/sys/sys/
H A Dkdb.h65 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-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/Plugins/ScriptInterpreter/Lua/
H A DScriptInterpreterLua.cpp12 #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
147 : ScriptInterpreter(debugger, eScriptLanguageLua), in ScriptInterpreterLua()
204 // At the moment, the only time the debugger does not have an input file in ExecuteInterpreterLoop()
[all …]
/freebsd-src/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_debugger.h3 * 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-src/contrib/llvm-project/lldb/bindings/interface/
H A DSBDebuggerDocstrings.i17 # 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-src/contrib/llvm-project/lldb/include/lldb/Target/
H A DTargetList.h23 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
[all...]
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/None/
H A DScriptInterpreterNone.cpp10 #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() argument
58 return std::make_shared<ScriptInterpreterNone>(debugger); in CreateInstance()
/freebsd-src/contrib/llvm-project/lldb/source/Interpreter/
H A DScriptInterpreter.cpp10 #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()
184 new ScriptInterpreterIORedirect(debugger, result)); in ScriptInterpreterIORedirect()
209 Debugger &debugger, CommandReturnObject *result) in ScriptInterpreterIORedirect()
214 m_input_file_sp = debugger in ScriptInterpreterIORedirect()
164 Create(bool enable_io,Debugger & debugger,CommandReturnObject * result) Create() argument
193 ScriptInterpreterIORedirect(Debugger & debugger,CommandReturnObject * result) ScriptInterpreterIORedirect() argument
[all...]
/freebsd-src/share/man/man4/
H A Dddb.432 .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
[all...]
/freebsd-src/contrib/llvm-project/lldb/source/Target/
H A DTargetList.cpp10 #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_pat in CreateTarget()
77 CreateTargetInternal(Debugger & debugger,llvm::StringRef user_exe_path,llvm::StringRef triple_str,LoadDependentFiles load_dependent_files,const OptionGroupPlatform * platform_options,TargetSP & target_sp) CreateTargetInternal() argument
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...]
/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/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);
/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/llvm/lib/ExecutionEngine/Orc/Debugging/
H A DDebuggerSupport.cpp1 //===------ DebuggerSupport.cpp - Utils for enabling debugger support -----===//
24 return make_error<StringError>("Cannot enable LLJIT debugger support: " in enableDebuggerSupport()
25 "Debugger support requires JITLink", in enableDebuggerSupport()
29 return make_error<StringError>("Cannot enable LLJIT debugger support: " in enableDebuggerSupport()
54 "Cannot enable LLJIT debugger support: " + in enableDebuggerSupport()
/freebsd-src/sys/kern/
H A Dsubr_kdb.c109 "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...]

12345678910>>...27