From 5e09c8c32cb61ef3633afa7ecfc9609b5b97c779 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Tue, 16 Dec 2014 23:40:14 +0000 Subject: Add the ability to tag one or more breakpoints with a name. These names can then be used in place of breakpoint id's or breakpoint id ranges in all the commands that operate on breakpoints. llvm-svn: 224392 --- lldb/scripts/Python/interface/SBBreakpoint.i | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'lldb/scripts/Python/interface') diff --git a/lldb/scripts/Python/interface/SBBreakpoint.i b/lldb/scripts/Python/interface/SBBreakpoint.i index 190c9b90dd6..61093c45237 100644 --- a/lldb/scripts/Python/interface/SBBreakpoint.i +++ b/lldb/scripts/Python/interface/SBBreakpoint.i @@ -200,6 +200,18 @@ public: SBError SetScriptCallbackBody (const char *script_body_text); + bool + AddName (const char *new_name); + + void + RemoveName (const char *name_to_remove); + + bool + MatchesName (const char *name); + + void + GetNames (SBStringList &names); + size_t GetNumResolvedLocations() const; -- cgit v1.2.3