summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/OptionGroupWatchpoint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Interpreter/OptionGroupWatchpoint.cpp')
-rw-r--r--lldb/source/Interpreter/OptionGroupWatchpoint.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Interpreter/OptionGroupWatchpoint.cpp b/lldb/source/Interpreter/OptionGroupWatchpoint.cpp
index 6d1fcb75e5b..be1bf57f51a 100644
--- a/lldb/source/Interpreter/OptionGroupWatchpoint.cpp
+++ b/lldb/source/Interpreter/OptionGroupWatchpoint.cpp
@@ -15,6 +15,7 @@
// Project includes
#include "lldb/lldb-enumerations.h"
#include "lldb/Interpreter/Args.h"
+#include "lldb/Utility/Utils.h"
using namespace lldb;
using namespace lldb_private;
@@ -84,7 +85,5 @@ OptionGroupWatchpoint::GetDefinitions ()
uint32_t
OptionGroupWatchpoint::GetNumDefinitions ()
{
- return 1;
+ return arraysize(g_option_table);
}
-
-
OpenPOWER on IntegriCloud