summaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectMemory.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2013-03-23 05:16:54 +0000
committerJason Molenda <jmolenda@apple.com>2013-03-23 05:16:54 +0000
commitfc306d39873497e1900e22fb40658cf71c11cd2b (patch)
tree87d52d4a355e153de7f5d37bd24e60271a952b2c /lldb/source/Commands/CommandObjectMemory.cpp
parenteff188427497970286f5f4e4e496e42b2fc09b64 (diff)
Set the correct byte size for complex integer (-fI) memory reads.
<rdar://problem/12281172> llvm-svn: 177814
Diffstat (limited to 'lldb/source/Commands/CommandObjectMemory.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectMemory.cpp8
1 files changed, 8 insertions, 0 deletions
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;