From fc306d39873497e1900e22fb40658cf71c11cd2b Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Sat, 23 Mar 2013 05:16:54 +0000 Subject: Set the correct byte size for complex integer (-fI) memory reads. llvm-svn: 177814 --- lldb/source/Commands/CommandObjectMemory.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lldb/source/Commands/CommandObjectMemory.cpp') diff --git a/lldb/source/Commands/CommandObjectMemory.cpp b/lldb/source/Commands/CommandObjectMemory.cpp index ea8feed873a3..43944cea2c77 100644 --- a/lldb/source/Commands/CommandObjectMemory.cpp +++ b/lldb/source/Commands/CommandObjectMemory.cpp @@ -221,6 +221,14 @@ public: 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; -- cgit v1.2.3