diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-09-09 23:25:26 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-09-09 23:25:26 +0000 |
commit | b1d7529e570545a8faceae1c7bf82ed4384e902e (patch) | |
tree | 76dd35da3323404ef5cd7067c145965fd8d7edaf /lldb/source/Interpreter/CommandObject.cpp | |
parent | 56247076847790933b5e91639f466c8c7f11ea4a (diff) | |
download | bcm5719-llvm-b1d7529e570545a8faceae1c7bf82ed4384e902e.tar.gz bcm5719-llvm-b1d7529e570545a8faceae1c7bf82ed4384e902e.zip |
Add OptionGroupWatchpoint.cpp/.h (preparatory work) for hooking up watchpoint to the 'frame variable' comand.
To watch a variable for read/write, issue:
frame variable -w read_write
Note that '-w' option is not working yet. :-)
llvm-svn: 139434
Diffstat (limited to 'lldb/source/Interpreter/CommandObject.cpp')
-rw-r--r-- | lldb/source/Interpreter/CommandObject.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandObject.cpp b/lldb/source/Interpreter/CommandObject.cpp index b1eafd5e30f..c3547e23995 100644 --- a/lldb/source/Interpreter/CommandObject.cpp +++ b/lldb/source/Interpreter/CommandObject.cpp @@ -829,7 +829,8 @@ CommandObject::g_arguments_data[] = { eArgTypeValue, "value", CommandCompletions::eNoCompletion, { NULL, false }, "A value could be anything, depending on where and how it is used." }, { eArgTypeWidth, "width", CommandCompletions::eNoCompletion, { NULL, false }, "Help text goes here." }, { eArgTypeNone, "none", CommandCompletions::eNoCompletion, { NULL, false }, "No help available for this." }, - { eArgTypePlatform, "platform-name", CommandCompletions::ePlatformPluginCompletion, { NULL, false }, "The name of an installed platform plug-in . Type 'platform list' to see a complete list of installed platforms." } + { eArgTypePlatform, "platform-name", CommandCompletions::ePlatformPluginCompletion, { NULL, false }, "The name of an installed platform plug-in . Type 'platform list' to see a complete list of installed platforms." }, + { eArgTypeWatchMode, "watch-mode", CommandCompletions::eNoCompletion, { NULL, false }, "Specify the mode for a watchpoint." } }; const CommandObject::ArgumentTableEntry* |