1 //===-- CommandObjectBreakpoint.h -------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_CommandObjectBreakpoint_h_
11 #define liblldb_CommandObjectBreakpoint_h_
19 // Other libraries and framework includes
21 #include "lldb/Core/Address.h"
22 #include "lldb/Core/STLUtils.h"
23 #include "lldb/Interpreter/CommandObjectMultiword.h"
24 #include "lldb/Interpreter/Options.h"
26 namespace lldb_private {
28 //-------------------------------------------------------------------------
29 // CommandObjectMultiwordBreakpoint
30 //-------------------------------------------------------------------------
32 class CommandObjectMultiwordBreakpoint : public CommandObjectMultiword {
34 CommandObjectMultiwordBreakpoint(CommandInterpreter &interpreter);
36 ~CommandObjectMultiwordBreakpoint() override;
38 static void VerifyBreakpointOrLocationIDs(Args &args, Target *target,
39 CommandReturnObject &result,
40 BreakpointIDList *valid_ids) {
41 VerifyIDs(args, target, true, result, valid_ids);
44 static void VerifyBreakpointIDs(Args &args, Target *target,
45 CommandReturnObject &result,
46 BreakpointIDList *valid_ids) {
47 VerifyIDs(args, target, false, result, valid_ids);
51 static void VerifyIDs(Args &args, Target *target, bool allow_locations,
52 CommandReturnObject &result,
53 BreakpointIDList *valid_ids);
56 } // namespace lldb_private
58 #endif // liblldb_CommandObjectBreakpoint_h_