diff options
author | Sean Callanan <scallanan@apple.com> | 2015-03-26 00:42:27 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2015-03-26 00:42:27 +0000 |
commit | 7e9793f57a7f370eace867233c995e33392cf7e4 (patch) | |
tree | b3aa34b9ffedc4d3e52396835ffa7243f4309e4f /lldb/source/Interpreter/OptionGroupWatchpoint.cpp | |
parent | 40ca211071eda1e78ab93dfac436ba95144132a5 (diff) | |
download | bcm5719-llvm-7e9793f57a7f370eace867233c995e33392cf7e4.tar.gz bcm5719-llvm-7e9793f57a7f370eace867233c995e33392cf7e4.zip |
Changed '-x'/'-xsize' to '-s'/'-size' when specifying
the size of a watchpoint.
<rdar://problem/18184972>
llvm-svn: 233237
Diffstat (limited to 'lldb/source/Interpreter/OptionGroupWatchpoint.cpp')
-rw-r--r-- | lldb/source/Interpreter/OptionGroupWatchpoint.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Interpreter/OptionGroupWatchpoint.cpp b/lldb/source/Interpreter/OptionGroupWatchpoint.cpp index f4d8df1e6ba..c6f4b8f8c8e 100644 --- a/lldb/source/Interpreter/OptionGroupWatchpoint.cpp +++ b/lldb/source/Interpreter/OptionGroupWatchpoint.cpp @@ -41,7 +41,7 @@ static OptionDefinition g_option_table[] = { { LLDB_OPT_SET_1, false, "watch", 'w', OptionParser::eRequiredArgument, nullptr, g_watch_type, 0, eArgTypeWatchType, "Specify the type of watching to perform."}, - { LLDB_OPT_SET_1, false, "xsize", 'x', OptionParser::eRequiredArgument, nullptr, g_watch_size, 0, eArgTypeByteSize, "Number of bytes to use to watch a region."} + { LLDB_OPT_SET_1, false, "size", 's', OptionParser::eRequiredArgument, nullptr, g_watch_size, 0, eArgTypeByteSize, "Number of bytes to use to watch a region."} }; @@ -87,7 +87,7 @@ OptionGroupWatchpoint::SetOptionValue (CommandInterpreter &interpreter, } break; } - case 'x': + case 's': watch_size = (uint32_t) Args::StringToOptionEnum(option_arg, g_option_table[option_idx].enum_values, 0, error); break; |