diff options
author | Jim Ingham <jingham@apple.com> | 2012-02-16 06:50:00 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2012-02-16 06:50:00 +0000 |
commit | 5a15e6927b5b3234fb3e688717297ba6b5dd6ad7 (patch) | |
tree | 3e7f3182f21ebcc32d63ee2589f551300ea400d0 /include/lldb/Target/TargetList.h | |
parent | e90903ad8321e863d795723063c2a3552122f713 (diff) |
Add a general mechanism to wait on the debugger for Broadcasters of a given class/event bit set.
Use this to allow the lldb Driver to emit notifications for breakpoint modifications.
<rdar://problem/10619974>
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150665 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/lldb/Target/TargetList.h')
-rw-r--r-- | include/lldb/Target/TargetList.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/include/lldb/Target/TargetList.h b/include/lldb/Target/TargetList.h index 5940e9a53..d617f9a77 100644 --- a/include/lldb/Target/TargetList.h +++ b/include/lldb/Target/TargetList.h @@ -34,7 +34,7 @@ private: /// /// @see static TargetList& lldb_private::Debugger::GetTargetList(). //------------------------------------------------------------------ - TargetList(); + TargetList(Debugger &debugger); public: @@ -47,7 +47,16 @@ public: }; - ~TargetList(); + // These two functions fill out the Broadcaster interface: + + static ConstString &GetStaticBroadcasterClass (); + + virtual ConstString &GetBroadcasterClass() const + { + return GetStaticBroadcasterClass(); + } + + virtual ~TargetList(); //------------------------------------------------------------------ /// Create a new Target. |