diff options
| author | Jim Ingham <jingham@apple.com> | 2010-11-30 02:22:11 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2010-11-30 02:22:11 +0000 |
| commit | f48169bb4f4ff2921b3522fd7a4b8586f5473984 (patch) | |
| tree | a3b94bf2e3539c728fa233eb3368280f302b14fe /lldb/source/Target/ThreadPlanTestCondition.cpp | |
| parent | d4900a644ce3e5ff9e5c5acd4bd379ec45017d8d (diff) | |
| download | bcm5719-llvm-f48169bb4f4ff2921b3522fd7a4b8586f5473984.tar.gz bcm5719-llvm-f48169bb4f4ff2921b3522fd7a4b8586f5473984.zip | |
Moved the code in ClangUserExpression that set up & ran the thread plan with timeouts, and restarting with all threads into a utility function in Process. This required a bunch of renaming.
Added a ThreadPlanCallUserExpression that differs from ThreadPlanCallFunction in that it holds onto a shared pointer to its ClangUserExpression so that can't go away before the thread plan is done using it.
Fixed the stop message when you hit a breakpoint while running a user expression so it is more obvious what has happened.
llvm-svn: 120386
Diffstat (limited to 'lldb/source/Target/ThreadPlanTestCondition.cpp')
| -rw-r--r-- | lldb/source/Target/ThreadPlanTestCondition.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/source/Target/ThreadPlanTestCondition.cpp b/lldb/source/Target/ThreadPlanTestCondition.cpp index 0087dfc920f..b5f7db87f8d 100644 --- a/lldb/source/Target/ThreadPlanTestCondition.cpp +++ b/lldb/source/Target/ThreadPlanTestCondition.cpp @@ -64,7 +64,10 @@ ThreadPlanTestCondition::ValidatePlan (Stream *error) void ThreadPlanTestCondition::GetDescription (Stream *s, lldb::DescriptionLevel level) { - + if (m_expression) + s->Printf("Thread plan to test condition: \"%s\".", m_expression->GetUserText()); + else + s->Printf("Thread plan to test unspecified condition."); } bool |

