[Lldb-commits] [lldb] r145067 - /lldb/trunk/source/Commands/CommandObjectMemory.cpp

Greg Clayton gclayton at apple.com
Tue Nov 22 10:07:35 PST 2011


Author: gclayton
Date: Tue Nov 22 12:07:35 2011
New Revision: 145067

URL: http://llvm.org/viewvc/llvm-project?rev=145067&view=rev
Log:
<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.


Modified:
    lldb/trunk/source/Commands/CommandObjectMemory.cpp

Modified: lldb/trunk/source/Commands/CommandObjectMemory.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectMemory.cpp?rev=145067&r1=145066&r2=145067&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectMemory.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectMemory.cpp Tue Nov 22 12:07:35 2011
@@ -323,10 +323,10 @@
         // 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, 





More information about the lldb-commits mailing list