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
30 IsWatchSizeSupported(uint32_t watch_size);
32 OptionGroupWatchpoint ();
35 ~OptionGroupWatchpoint ();
40 virtual const OptionDefinition*
44 SetOptionValue (CommandInterpreter &interpreter,
46 const char *option_arg);
49 OptionParsingStarting (CommandInterpreter &interpreter);
52 // eWatchRead == LLDB_WATCH_TYPE_READ; and
53 // eWatchWrite == LLDB_WATCH_TYPE_WRITE
54 typedef enum WatchType {
63 bool watch_type_specified;
66 DISALLOW_COPY_AND_ASSIGN(OptionGroupWatchpoint);
69 } // namespace lldb_private
71 #endif // liblldb_OptionGroupWatchpoint_h_