diff options
author | Greg Clayton <gclayton@apple.com> | 2011-11-22 18:07:35 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-11-22 18:07:35 +0000 |
commit | 8388955fd9f094046288c6301f4b0d02549e4c12 (patch) | |
tree | af682d9b1a299b028a8dbfa343accb0fd363d3ea /lldb/source/Commands/CommandObjectMemory.cpp | |
parent | 6f0ae783fec09e8d62c137f73f7682be808032c3 (diff) | |
download | bcm5719-llvm-8388955fd9f094046288c6301f4b0d02549e4c12.tar.gz bcm5719-llvm-8388955fd9f094046288c6301f4b0d02549e4c12.zip |
<rdar://problem/10033754>
Fixed an issue with the options for memory read where --count couldn't be used
with the --binary option when writing data to a file.
Also removed the GDB format option from the --binary version of memory read.
llvm-svn: 145067
Diffstat (limited to 'lldb/source/Commands/CommandObjectMemory.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectMemory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectMemory.cpp b/lldb/source/Commands/CommandObjectMemory.cpp index 1a0c165429f..95542d1d6d4 100644 --- a/lldb/source/Commands/CommandObjectMemory.cpp +++ b/lldb/source/Commands/CommandObjectMemory.cpp @@ -323,10 +323,10 @@ public: // Add the "--format" and "--count" options to group 1 and 3 m_option_group.Append (&m_format_options, OptionGroupFormat::OPTION_GROUP_FORMAT | OptionGroupFormat::OPTION_GROUP_COUNT, - LLDB_OPT_SET_1 | LLDB_OPT_SET_3); + LLDB_OPT_SET_1 | LLDB_OPT_SET_2 | LLDB_OPT_SET_3); m_option_group.Append (&m_format_options, OptionGroupFormat::OPTION_GROUP_GDB_FMT, - LLDB_OPT_SET_1 | LLDB_OPT_SET_2 | LLDB_OPT_SET_3); + LLDB_OPT_SET_1 | LLDB_OPT_SET_3); // Add the "--size" option to group 1 and 2 m_option_group.Append (&m_format_options, OptionGroupFormat::OPTION_GROUP_SIZE, |