[Lldb-commits] [lldb] Add SBDebugger:: AddNotificationCallback API (PR #111206)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 8 13:08:08 PDT 2024
================
@@ -138,7 +138,10 @@ class LLDB_API SBUnixSignals;
typedef bool (*SBBreakpointHitCallback)(void *baton, lldb::SBProcess &process,
lldb::SBThread &thread,
lldb::SBBreakpointLocation &location);
-
+typedef void (*SBNotificationCallback)(lldb::NotificationType type,
+ lldb::SBDebugger &,
+ lldb::SBExecutionContext &exe_ctx,
----------------
clayborg wrote:
Can we add accessors to the SBExecutionContext for accessing a debugger? We can modify the `lldb_private::ExecutionContext` to add a `lldb::DebuggerSP` and add accessors to the debugger object and then add that to the `lldb::SBExecutionContext" API?
https://github.com/llvm/llvm-project/pull/111206
More information about the lldb-commits
mailing list