summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2013-09-06 12:43:14 +0000
committerEd Maste <emaste@freebsd.org>2013-09-06 12:43:14 +0000
commit93ef728f271d3dbe339f2cc8b20da89d4e41d64d (patch)
treef5fcc943e0cb5eba96bcf977546251d19bb7dc36 /lldb/source/Target
parente0fbb44a48c82feb06ff0c8edb0d8e0935fe2859 (diff)
downloadbcm5719-llvm-93ef728f271d3dbe339f2cc8b20da89d4e41d64d.tar.gz
bcm5719-llvm-93ef728f271d3dbe339f2cc8b20da89d4e41d64d.zip
Correct logic error found by inspection.
From Jim's post on the lldb-dev mailing list: This code is there as a backstop for when the unwinder drops a frame at the beginning of new function/trampoline or whatever. In the (older_ctx_is_equivalent == false) case we will see if we are at a trampoline function that somebody knows how to get out of, and otherwise we will stop. llvm-svn: 190149
Diffstat (limited to 'lldb/source/Target')
-rw-r--r--lldb/source/Target/ThreadPlanStepOverRange.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/ThreadPlanStepOverRange.cpp b/lldb/source/Target/ThreadPlanStepOverRange.cpp
index 7b8539ce422..5b4ebaac490 100644
--- a/lldb/source/Target/ThreadPlanStepOverRange.cpp
+++ b/lldb/source/Target/ThreadPlanStepOverRange.cpp
@@ -121,7 +121,7 @@ ThreadPlanStepOverRange::ShouldStop (Event *event_ptr)
// in so I left out the target check. And sometimes the module comes in as the .o file from the
// inlined range, so I left that out too...
- bool older_ctx_is_equivalent = true;
+ bool older_ctx_is_equivalent = false;
if (m_addr_context.comp_unit)
{
if (m_addr_context.comp_unit == older_context.comp_unit)
OpenPOWER on IntegriCloud