Set the correct byte size for complex integer (-fI) memory reads.
<rdar://problem/12281172>
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177814 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectMemory.cpp b/source/Commands/CommandObjectMemory.cpp
index ea8feed..43944ce 100644
--- a/source/Commands/CommandObjectMemory.cpp
+++ b/source/Commands/CommandObjectMemory.cpp
@@ -221,6 +221,14 @@
if (!count_option_set)
format_options.GetCountValue() = 8;
break;
+ case eFormatComplexInteger:
+ if (!byte_size_option_set)
+ byte_size_value = 8;
+ if (!num_per_line_option_set)
+ m_num_per_line = 1;
+ if (!count_option_set)
+ format_options.GetCountValue() = 8;
+ break;
case eFormatHex:
if (!byte_size_option_set)
byte_size_value = 4;