From ef5d0b5e97ec8e6fa395d377b09aa7755e345b4f Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 18 Dec 2017 20:12:36 +0000 Subject: Vendor import of lldb trunk r321017: https://llvm.org/svn/llvm-project/lldb/trunk@321017 --- source/Commands/CommandObjectExpression.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'source/Commands/CommandObjectExpression.cpp') diff --git a/source/Commands/CommandObjectExpression.cpp b/source/Commands/CommandObjectExpression.cpp index b6e0016c88e4..01ca31111555 100644 --- a/source/Commands/CommandObjectExpression.cpp +++ b/source/Commands/CommandObjectExpression.cpp @@ -228,6 +228,16 @@ CommandObjectExpression::CommandObjectExpression( m_command_options(), m_expr_line_count(0), m_expr_lines() { SetHelpLong( R"( +Single and multi-line expressions: + +)" + " The expression provided on the command line must be a complete expression \ +with no newlines. To evaluate a multi-line expression, \ +hit a return after an empty expression, and lldb will enter the multi-line expression editor. \ +Hit return on an empty line to end the multi-line expression." + + R"( + Timeouts: )" @@ -256,6 +266,7 @@ from the stack with \"thread return -x\" or if you are still interested in the e you can issue the \"continue\" command and the expression evaluation will complete and the \ expression result will be available using the \"thread.completed-expression\" key in the thread \ format." + R"( Examples: -- cgit v1.2.3