From 770eb05aa5347fe59b7e7674094b20f76eeb5625 Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Wed, 28 Mar 2012 22:17:37 +0000 Subject: 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 --- lldb/source/Commands/CommandObjectExpression.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lldb/source/Commands/CommandObjectExpression.cpp') diff --git a/lldb/source/Commands/CommandObjectExpression.cpp b/lldb/source/Commands/CommandObjectExpression.cpp index f039310212a..33ec52c8a1d 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); -- cgit v1.2.3