summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectExpression.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectExpression.cpp5
1 files changed, 3 insertions, 2 deletions
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);
OpenPOWER on IntegriCloud