blob: f21796e6bc8dddb7fa8070eecdf4913d0b908e94 [file] [log] [blame]
Johnny Chenf04ee932011-09-22 18:04:58 +00001//===-- CommandObjectWatchpoint.h -------------------------------*- C++ -*-===//
2//
Chandler Carruth2946cd72019-01-19 08:50:56 +00003// 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
Johnny Chenf04ee932011-09-22 18:04:58 +00006//
7//===----------------------------------------------------------------------===//
8
9#ifndef liblldb_CommandObjectWatchpoint_h_
10#define liblldb_CommandObjectWatchpoint_h_
11
Johnny Chenf04ee932011-09-22 18:04:58 +000012
Johnny Chenf04ee932011-09-22 18:04:58 +000013#include "lldb/Interpreter/CommandObjectMultiword.h"
Johnny Chendedb67a2012-01-30 21:46:17 +000014#include "lldb/Interpreter/OptionGroupWatchpoint.h"
Kate Stoneb9c1b512016-09-06 20:57:50 +000015#include "lldb/Interpreter/Options.h"
Johnny Chenf04ee932011-09-22 18:04:58 +000016
17namespace lldb_private {
18
Johnny Chenf04ee932011-09-22 18:04:58 +000019// CommandObjectMultiwordWatchpoint
Johnny Chenf04ee932011-09-22 18:04:58 +000020
Kate Stoneb9c1b512016-09-06 20:57:50 +000021class CommandObjectMultiwordWatchpoint : public CommandObjectMultiword {
Johnny Chenf04ee932011-09-22 18:04:58 +000022public:
Kate Stoneb9c1b512016-09-06 20:57:50 +000023 CommandObjectMultiwordWatchpoint(CommandInterpreter &interpreter);
Johnny Chenf04ee932011-09-22 18:04:58 +000024
Kate Stoneb9c1b512016-09-06 20:57:50 +000025 ~CommandObjectMultiwordWatchpoint() override;
Johnny Chen1773a892012-06-19 22:12:58 +000026
Kate Stoneb9c1b512016-09-06 20:57:50 +000027 static bool VerifyWatchpointIDs(Target *target, Args &args,
28 std::vector<uint32_t> &wp_ids);
Johnny Chenf04ee932011-09-22 18:04:58 +000029};
30
Johnny Chenf04ee932011-09-22 18:04:58 +000031} // namespace lldb_private
32
Pavel Labath1fb7e202015-09-02 09:33:09 +000033#endif // liblldb_CommandObjectWatchpoint_h_