aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectExpression.cpp
diff options
context:
space:
mode:
authorEnrico Granata <granata.enrico@gmail.com>2011-07-16 01:22:04 +0000
committerEnrico Granata <granata.enrico@gmail.com>2011-07-16 01:22:04 +0000
commit0c5ef693a2b0fef31b43b079bb70e9abd4c3b652 (patch)
treea8ab74c01793b0fddda2bacb739079fc0365664a /lldb/source/Commands/CommandObjectExpression.cpp
parentc591f3afc33f5188cad47fd5a8a6d769ef290020 (diff)
downloadllvm-0c5ef693a2b0fef31b43b079bb70e9abd4c3b652.zip
llvm-0c5ef693a2b0fef31b43b079bb70e9abd4c3b652.tar.gz
llvm-0c5ef693a2b0fef31b43b079bb70e9abd4c3b652.tar.bz2
Some descriptive text for the Python script feature:
- help type summary add now gives some hints on how to use it frame variable and target variable now have a --no-summary-depth (-Y) option: - simply using -Y without an argument will skip one level of summaries, i.e. your aggregate types will expand their children and display no summary, even if they have one. children will behave normally - using -Y<int>, as in -Y4, -Y7, ..., will skip as many levels of summaries as given by the <int> parameter (obviously, -Y and -Y1 are the same thing). children beneath the given depth level will behave normally -Y0 is the same as omitting the --no-summary-depth parameter entirely This option replaces the defined-but-unimplemented --no-summary llvm-svn: 135336
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectExpression.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectExpression.cpp b/lldb/source/Commands/CommandObjectExpression.cpp
index 57dd7c7..4a25477 100644
--- a/lldb/source/Commands/CommandObjectExpression.cpp
+++ b/lldb/source/Commands/CommandObjectExpression.cpp
@@ -329,7 +329,8 @@ CommandObjectExpression::EvaluateExpression
m_options.print_object, // Print the objective C object?
use_dynamic,
true, // Scope is already checked. Const results are always in scope.
- false); // Don't flatten output
+ false, // Don't flatten output
+ 0); // Always use summaries (you might want an option --no-summary like there is for frame variable)
if (result)
result->SetStatus (eReturnStatusSuccessFinishResult);
}