diff options
author | Jim Ingham <jingham@apple.com> | 2014-12-16 23:40:14 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2014-12-16 23:40:14 +0000 |
commit | 5e09c8c32cb61ef3633afa7ecfc9609b5b97c779 (patch) | |
tree | a8de2948a9404d9f80227fa224cdef24b41ecff8 /lldb/source/Commands/CommandObjectBreakpoint.h | |
parent | aa1bade7b4566f1409d0b6694a0517901ba3fbf1 (diff) | |
download | bcm5719-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/source/Commands/CommandObjectBreakpoint.h')
-rw-r--r-- | lldb/source/Commands/CommandObjectBreakpoint.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpoint.h b/lldb/source/Commands/CommandObjectBreakpoint.h index 2d674b22d70..3fdd2a5f56b 100644 --- a/lldb/source/Commands/CommandObjectBreakpoint.h +++ b/lldb/source/Commands/CommandObjectBreakpoint.h @@ -38,8 +38,20 @@ public: ~CommandObjectMultiwordBreakpoint (); static void - VerifyBreakpointIDs (Args &args, Target *target, CommandReturnObject &result, BreakpointIDList *valid_ids); + VerifyBreakpointOrLocationIDs (Args &args, Target *target, CommandReturnObject &result, BreakpointIDList *valid_ids) + { + VerifyIDs (args, target, true, result, valid_ids); + } + static void + VerifyBreakpointIDs (Args &args, Target *target, CommandReturnObject &result, BreakpointIDList *valid_ids) + { + VerifyIDs (args, target, false, result, valid_ids); + } + +private: + static void + VerifyIDs (Args &args, Target *target, bool allow_locations, CommandReturnObject &result, BreakpointIDList *valid_ids); }; } // namespace lldb_private |