diff options
author | Jim Ingham <jingham@apple.com> | 2010-10-14 23:45:03 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2010-10-14 23:45:03 +0000 |
commit | 36f3b369d2632e6898166c0e697f85e2ab458ece (patch) | |
tree | 62bfedb1bc23100bdf34b43673fa90dbc0f38d5e /lldb/source/Expression/ClangFunction.cpp | |
parent | 3f1cf0f373ab9915d4f7dff04c57017c62869386 (diff) | |
download | bcm5719-llvm-36f3b369d2632e6898166c0e697f85e2ab458ece.tar.gz bcm5719-llvm-36f3b369d2632e6898166c0e697f85e2ab458ece.zip |
Added support for breakpoint conditions. I also had to separate the "run the expression" part of ClangFunction::Execute from the "Gather the expression result" so that in the case of the Breakpoint condition I can move the condition evaluation into the normal thread plan processing.
Also added support for remembering the "last set breakpoint" so that "break modify" will act on the last set breakpoint.
llvm-svn: 116542
Diffstat (limited to 'lldb/source/Expression/ClangFunction.cpp')
-rw-r--r-- | lldb/source/Expression/ClangFunction.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lldb/source/Expression/ClangFunction.cpp b/lldb/source/Expression/ClangFunction.cpp index 3d5e8383f9a..4ef26d1cb2e 100644 --- a/lldb/source/Expression/ClangFunction.cpp +++ b/lldb/source/Expression/ClangFunction.cpp @@ -539,9 +539,11 @@ ClangFunction::ExecuteFunction ( // Not really sure what to do if Halt fails here... if (log) if (try_all_threads) - log->Printf ("Running function with timeout: %d timed out, trying with all threads enabled.", single_thread_timeout_usec); + log->Printf ("Running function with timeout: %d timed out, trying with all threads enabled.", + single_thread_timeout_usec); else - log->Printf ("Running function with timeout: %d timed out, abandoning execution.", single_thread_timeout_usec); + log->Printf ("Running function with timeout: %d timed out, abandoning execution.", + single_thread_timeout_usec); if (exe_ctx.process->Halt().Success()) { |