diff options
author | Enrico Granata <egranata@apple.com> | 2012-03-28 22:17:37 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2012-03-28 22:17:37 +0000 |
commit | 770eb05aa5347fe59b7e7674094b20f76eeb5625 (patch) | |
tree | cf3f12edf404a064216627ea67529d864ae90ed0 /lldb/source/Commands/CommandObjectExpression.cpp | |
parent | bfee542ccedd364accd6746ff6e04a2bfb29a9ad (diff) | |
download | llvm-770eb05aa5347fe59b7e7674094b20f76eeb5625.zip llvm-770eb05aa5347fe59b7e7674094b20f76eeb5625.tar.gz llvm-770eb05aa5347fe59b7e7674094b20f76eeb5625.tar.bz2 |
Fixing an issue where saying 'po foo' made both the summary and the description for foo come out. If one is po'ing something they most probably only care about the description - We will not omit the summary
llvm-svn: 153608
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectExpression.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectExpression.cpp b/lldb/source/Commands/CommandObjectExpression.cpp index f0393102..33ec52c 100644 --- a/lldb/source/Commands/CommandObjectExpression.cpp +++ b/lldb/source/Commands/CommandObjectExpression.cpp @@ -364,10 +364,11 @@ CommandObjectExpression::EvaluateExpression .SetScopeChecked(true) .SetFlatOutput(false) .SetUseSyntheticValue(true) - .SetOmitSummaryDepth(0) .SetIgnoreCap(false) .SetFormat(format) - .SetSummary(); + .SetSummary() + .SetShowSummary(!m_command_options.print_object); + ValueObject::DumpValueObject (*(output_stream), result_valobj_sp.get(), // Variable object to dump options); |