LLDB
mainline
llvm-project
lldb
source
Commands
CommandObjectBreakpoint.h
Go to the documentation of this file.
1
//===-- CommandObjectBreakpoint.h -------------------------------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#ifndef LLDB_SOURCE_COMMANDS_COMMANDOBJECTBREAKPOINT_H
10
#define LLDB_SOURCE_COMMANDS_COMMANDOBJECTBREAKPOINT_H
11
12
#include "
lldb/Breakpoint/BreakpointName.h
"
13
#include "
lldb/Interpreter/CommandObjectMultiword.h
"
14
15
namespace
lldb_private
{
16
17
// CommandObjectMultiwordBreakpoint
18
19
class
CommandObjectMultiwordBreakpoint
:
public
CommandObjectMultiword
{
20
public
:
21
CommandObjectMultiwordBreakpoint
(
CommandInterpreter
&interpreter);
22
23
~CommandObjectMultiwordBreakpoint
()
override
;
24
25
static
void
VerifyBreakpointOrLocationIDs
(
26
Args
&args,
ExecutionContext
&exe_ctx,
CommandReturnObject
&result,
27
BreakpointIDList
*valid_ids,
28
BreakpointName::Permissions ::PermissionKinds purpose) {
29
VerifyIDs
(args, exe_ctx,
true
, result, valid_ids, purpose);
30
}
31
32
static
void
33
VerifyBreakpointIDs
(
Args
&args,
ExecutionContext
&exe_ctx,
34
CommandReturnObject
&result,
BreakpointIDList
*valid_ids,
35
BreakpointName::Permissions::PermissionKinds
purpose) {
36
VerifyIDs
(args, exe_ctx,
false
, result, valid_ids, purpose);
37
}
38
39
private
:
40
static
void
VerifyIDs
(
Args
&args,
ExecutionContext
&exe_ctx,
41
bool
allow_locations,
CommandReturnObject
&result,
42
BreakpointIDList
*valid_ids,
43
BreakpointName::Permissions::PermissionKinds
purpose);
44
};
45
46
}
// namespace lldb_private
47
48
#endif
// LLDB_SOURCE_COMMANDS_COMMANDOBJECTBREAKPOINT_H
BreakpointName.h
CommandObjectMultiword.h
lldb_private::Args
A command line argument class.
Definition
Args.h:33
lldb_private::BreakpointIDList
Definition
BreakpointIDList.h:26
lldb_private::BreakpointName::Permissions::PermissionKinds
PermissionKinds
Definition
BreakpointName.h:35
lldb_private::CommandObjectMultiwordBreakpoint::VerifyIDs
static void VerifyIDs(Args &args, ExecutionContext &exe_ctx, bool allow_locations, CommandReturnObject &result, BreakpointIDList *valid_ids, BreakpointName::Permissions::PermissionKinds purpose)
Definition
CommandObjectBreakpoint.cpp:3650
lldb_private::CommandObjectMultiwordBreakpoint::CommandObjectMultiwordBreakpoint
CommandObjectMultiwordBreakpoint(CommandInterpreter &interpreter)
Definition
CommandObjectBreakpoint.cpp:3590
lldb_private::CommandObjectMultiwordBreakpoint::VerifyBreakpointIDs
static void VerifyBreakpointIDs(Args &args, ExecutionContext &exe_ctx, CommandReturnObject &result, BreakpointIDList *valid_ids, BreakpointName::Permissions::PermissionKinds purpose)
Definition
CommandObjectBreakpoint.h:33
lldb_private::CommandObjectMultiwordBreakpoint::~CommandObjectMultiwordBreakpoint
~CommandObjectMultiwordBreakpoint() override
lldb_private::CommandObjectMultiwordBreakpoint::VerifyBreakpointOrLocationIDs
static void VerifyBreakpointOrLocationIDs(Args &args, ExecutionContext &exe_ctx, CommandReturnObject &result, BreakpointIDList *valid_ids, BreakpointName::Permissions ::PermissionKinds purpose)
Definition
CommandObjectBreakpoint.h:25
lldb_private::CommandObjectMultiword::CommandObjectMultiword
CommandObjectMultiword(CommandInterpreter &interpreter, const char *name, const char *help=nullptr, const char *syntax=nullptr, uint32_t flags=0)
Definition
CommandObjectMultiword.cpp:20
lldb_private::CommandObjectMultiword::CommandInterpreter
friend class CommandInterpreter
Definition
CommandObjectMultiword.h:22
lldb_private::CommandReturnObject
Definition
CommandReturnObject.h:29
lldb_private::ExecutionContext
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
Definition
ExecutionContext.h:294
lldb_private
A class that represents a running process on the host machine.
Definition
SBAddressRange.h:14
Generated on
for LLDB by
1.14.0