1 //===-- OptionGroupWatchpoint.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_OptionGroupWatchpoint_h_
11 #define liblldb_OptionGroupWatchpoint_h_
15 // Other libraries and framework includes
17 #include "lldb/Interpreter/Options.h"
19 namespace lldb_private {
21 //-------------------------------------------------------------------------
22 // OptionGroupWatchpoint
23 //-------------------------------------------------------------------------
25 class OptionGroupWatchpoint : public OptionGroup
28 OptionGroupWatchpoint ();
30 ~OptionGroupWatchpoint() override;
33 IsWatchSizeSupported(uint32_t watch_size);
36 GetNumDefinitions() override;
38 const OptionDefinition*
39 GetDefinitions() override;
42 SetOptionValue(CommandInterpreter &interpreter,
44 const char *option_arg) override;
47 OptionParsingStarting(CommandInterpreter &interpreter) override;
50 // eWatchRead == LLDB_WATCH_TYPE_READ; and
51 // eWatchWrite == LLDB_WATCH_TYPE_WRITE
52 typedef enum WatchType {
61 bool watch_type_specified;
64 DISALLOW_COPY_AND_ASSIGN(OptionGroupWatchpoint);
67 } // namespace lldb_private
69 #endif // liblldb_OptionGroupWatchpoint_h_