diff options
author | Ed Maste <emaste@freebsd.org> | 2013-09-06 12:43:14 +0000 |
---|---|---|
committer | Ed Maste <emaste@freebsd.org> | 2013-09-06 12:43:14 +0000 |
commit | 93ef728f271d3dbe339f2cc8b20da89d4e41d64d (patch) | |
tree | f5fcc943e0cb5eba96bcf977546251d19bb7dc36 /lldb/source/Target | |
parent | e0fbb44a48c82feb06ff0c8edb0d8e0935fe2859 (diff) | |
download | bcm5719-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.cpp | 2 |
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) |