Fix single-stepping onto a breakpoint
authorPavel Labath <labath@google.com>
Tue, 2 Feb 2016 10:40:56 +0000 (10:40 +0000)
committerPavel Labath <labath@google.com>
Tue, 2 Feb 2016 10:40:56 +0000 (10:40 +0000)
commitefd04a6c755af24e0909f42f60ea1cc671840310
tree072900e53fc2eabf038de42d330e925f98923658
parentb618a985821ffcdf65b84eec5f3d50677efef776
Fix single-stepping onto a breakpoint

Summary:
r259344 introduced a bug, where we fail to perform a single step, when the instruction we are
stepping onto contains a breakpoint which is not valid for this thread. This fixes the problem
and add a test case.

Reviewers: tberghammer, emaste

Subscribers: abhishek.aggarwal, lldb-commits, emaste

Differential Revision: http://reviews.llvm.org/D16767

llvm-svn: 259488
lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoints/TestConsecutiveBreakpoints.py
lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp