summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectExpression.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2013-07-30 19:54:09 +0000
committerSean Callanan <scallanan@apple.com>2013-07-30 19:54:09 +0000
commit4b388c9e165f4167fdf0a6aef21afcb333d7b6a2 (patch)
tree6bfd503fdf497a78505730a456b6aa4a576dd5d6 /lldb/source/Commands/CommandObjectExpression.cpp
parentfee76fac2f626baea2e5cc4b69fe3859a53680eb (diff)
downloadbcm5719-llvm-4b388c9e165f4167fdf0a6aef21afcb333d7b6a2.tar.gz
bcm5719-llvm-4b388c9e165f4167fdf0a6aef21afcb333d7b6a2.zip
Send a stop event when an expression stops at a breakpoint
in an expression and doesn't ignore the stop. Patch by Jim Ingham. <rdar://problem/14583884> llvm-svn: 187434
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectExpression.cpp31
1 files changed, 1 insertions, 30 deletions
diff --git a/lldb/source/Commands/CommandObjectExpression.cpp b/lldb/source/Commands/CommandObjectExpression.cpp
index 1d31c67ccd1..da472d17331 100644
--- a/lldb/source/Commands/CommandObjectExpression.cpp
+++ b/lldb/source/Commands/CommandObjectExpression.cpp
@@ -345,36 +345,7 @@ CommandObjectExpression::EvaluateExpression
exe_ctx.GetFramePtr(),
result_valobj_sp,
options);
-
- if ((exe_results == eExecutionInterrupted && !m_command_options.unwind_on_error)
- ||(exe_results == eExecutionHitBreakpoint && !m_command_options.ignore_breakpoints))
- {
- uint32_t start_frame = 0;
- uint32_t num_frames = 1;
- uint32_t num_frames_with_source = 0;
- Thread *thread = exe_ctx.GetThreadPtr();
- if (thread)
- {
- thread->GetStatus (result->GetOutputStream(),
- start_frame,
- num_frames,
- num_frames_with_source);
- }
- else
- {
- Process *process = exe_ctx.GetProcessPtr();
- if (process)
- {
- bool only_threads_with_stop_reason = true;
- process->GetThreadStatus (result->GetOutputStream(),
- only_threads_with_stop_reason,
- start_frame,
- num_frames,
- num_frames_with_source);
- }
- }
- }
-
+
if (result_valobj_sp)
{
Format format = m_format_options.GetFormat();
OpenPOWER on IntegriCloud