summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2014-12-16 23:40:14 +0000
committerJim Ingham <jingham@apple.com>2014-12-16 23:40:14 +0000
commit5e09c8c32cb61ef3633afa7ecfc9609b5b97c779 (patch)
treea8de2948a9404d9f80227fa224cdef24b41ecff8 /lldb/scripts/Python/interface
parentaa1bade7b4566f1409d0b6694a0517901ba3fbf1 (diff)
downloadbcm5719-llvm-5e09c8c32cb61ef3633afa7ecfc9609b5b97c779.tar.gz
bcm5719-llvm-5e09c8c32cb61ef3633afa7ecfc9609b5b97c779.zip
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. <rdar://problem/10103959> llvm-svn: 224392
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r--lldb/scripts/Python/interface/SBBreakpoint.i12
1 files changed, 12 insertions, 0 deletions
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;
OpenPOWER on IntegriCloud