[Lldb-commits] [lldb] Add SBDebugger:: AddNotificationCallback API (PR #111206)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 8 14:54:50 PDT 2024
================
@@ -569,6 +569,18 @@ class Debugger : public std::enable_shared_from_this<Debugger>,
SetDestroyCallback(lldb_private::DebuggerDestroyCallback destroy_callback,
void *baton);
+ /// Add a notification callback when notification type event happens. Return a
+ /// token, which can be used to remove said callback. Multiple callbacks can
+ /// be added by calling this function multiple times, and will be invoked in
+ /// FIFO order.
----------------
jimingham wrote:
What is original_callback for? You should document this if it's needed.
https://github.com/llvm/llvm-project/pull/111206
More information about the lldb-commits
mailing list