Johnny Chen | f04ee93 | 2011-09-22 18:04:58 +0000 | [diff] [blame] | 1 | //===-- CommandObjectWatchpoint.h -------------------------------*- C++ -*-===// |
| 2 | // |
Chandler Carruth | 2946cd7 | 2019-01-19 08:50:56 +0000 | [diff] [blame] | 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 |
Johnny Chen | f04ee93 | 2011-09-22 18:04:58 +0000 | [diff] [blame] | 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | #ifndef liblldb_CommandObjectWatchpoint_h_ |
| 10 | #define liblldb_CommandObjectWatchpoint_h_ |
| 11 | |
Johnny Chen | f04ee93 | 2011-09-22 18:04:58 +0000 | [diff] [blame] | 12 | |
Johnny Chen | f04ee93 | 2011-09-22 18:04:58 +0000 | [diff] [blame] | 13 | #include "lldb/Interpreter/CommandObjectMultiword.h" |
Johnny Chen | dedb67a | 2012-01-30 21:46:17 +0000 | [diff] [blame] | 14 | #include "lldb/Interpreter/OptionGroupWatchpoint.h" |
Kate Stone | b9c1b51 | 2016-09-06 20:57:50 +0000 | [diff] [blame] | 15 | #include "lldb/Interpreter/Options.h" |
Johnny Chen | f04ee93 | 2011-09-22 18:04:58 +0000 | [diff] [blame] | 16 | |
| 17 | namespace lldb_private { |
| 18 | |
Johnny Chen | f04ee93 | 2011-09-22 18:04:58 +0000 | [diff] [blame] | 19 | // CommandObjectMultiwordWatchpoint |
Johnny Chen | f04ee93 | 2011-09-22 18:04:58 +0000 | [diff] [blame] | 20 | |
Kate Stone | b9c1b51 | 2016-09-06 20:57:50 +0000 | [diff] [blame] | 21 | class CommandObjectMultiwordWatchpoint : public CommandObjectMultiword { |
Johnny Chen | f04ee93 | 2011-09-22 18:04:58 +0000 | [diff] [blame] | 22 | public: |
Kate Stone | b9c1b51 | 2016-09-06 20:57:50 +0000 | [diff] [blame] | 23 | CommandObjectMultiwordWatchpoint(CommandInterpreter &interpreter); |
Johnny Chen | f04ee93 | 2011-09-22 18:04:58 +0000 | [diff] [blame] | 24 | |
Kate Stone | b9c1b51 | 2016-09-06 20:57:50 +0000 | [diff] [blame] | 25 | ~CommandObjectMultiwordWatchpoint() override; |
Johnny Chen | 1773a89 | 2012-06-19 22:12:58 +0000 | [diff] [blame] | 26 | |
Kate Stone | b9c1b51 | 2016-09-06 20:57:50 +0000 | [diff] [blame] | 27 | static bool VerifyWatchpointIDs(Target *target, Args &args, |
| 28 | std::vector<uint32_t> &wp_ids); |
Johnny Chen | f04ee93 | 2011-09-22 18:04:58 +0000 | [diff] [blame] | 29 | }; |
| 30 | |
Johnny Chen | f04ee93 | 2011-09-22 18:04:58 +0000 | [diff] [blame] | 31 | } // namespace lldb_private |
| 32 | |
Pavel Labath | 1fb7e20 | 2015-09-02 09:33:09 +0000 | [diff] [blame] | 33 | #endif // liblldb_CommandObjectWatchpoint_h_ |