diff options
| author | Jim Ingham <jingham@apple.com> | 2013-01-31 21:46:01 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2013-01-31 21:46:01 +0000 |
| commit | 93208b86800fde2dee054fcd7f52ef6d28dc9d44 (patch) | |
| tree | f8070a57aec440ea1761f5b9ee667076ad0b11c7 /lldb/source/Expression/ClangUserExpression.cpp | |
| parent | 3145deac198ad23f86252632d9448c9eb5766b48 (diff) | |
| download | bcm5719-llvm-93208b86800fde2dee054fcd7f52ef6d28dc9d44.tar.gz bcm5719-llvm-93208b86800fde2dee054fcd7f52ef6d28dc9d44.zip | |
Add "thread return -x" to unwind the innermost user called expression (if you happen to have stopped in it due to a crash.)
Make the message when you hit an crash while evaluating an expression a little clearer, and mention "thread return -x".
rdar://problem/13110464
llvm-svn: 174095
Diffstat (limited to 'lldb/source/Expression/ClangUserExpression.cpp')
| -rw-r--r-- | lldb/source/Expression/ClangUserExpression.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Expression/ClangUserExpression.cpp b/lldb/source/Expression/ClangUserExpression.cpp index 66783812508..f8a1d702ee5 100644 --- a/lldb/source/Expression/ClangUserExpression.cpp +++ b/lldb/source/Expression/ClangUserExpression.cpp @@ -759,9 +759,9 @@ ClangUserExpression::Execute (Stream &error_stream, if ((execution_result == eExecutionInterrupted && unwind_on_error) || (execution_result == eExecutionHitBreakpoint && ignore_breakpoints)) - error_stream.Printf ("\nThe process has been returned to the state before execution."); + error_stream.Printf ("\nThe process has been returned to the state before expression evaluation."); else - error_stream.Printf ("\nThe process has been left at the point where it was interrupted."); + error_stream.Printf ("\nThe process has been left at the point where it was interrupted, use \"thread return -x\" to return to the state before expression evaluation."); return execution_result; } |

