Fix ARM/AArch64 Step-Over watchpoint issue remove provision for duplicate watchpoints
authorOmair Javaid <omair.javaid@linaro.org>
Thu, 20 Oct 2016 09:07:26 +0000 (09:07 +0000)
committerOmair Javaid <omair.javaid@linaro.org>
Thu, 20 Oct 2016 09:07:26 +0000 (09:07 +0000)
commit05ac4c445cd3e418e21a26631d5cd66d648dd358
treef398cfee3915d4845c71a33d13ae10e2ccfa6a33
parenta4c7e74d4b54855d2195fcf07e178eee5cb7cc1e
Fix ARM/AArch64 Step-Over watchpoint issue remove provision for duplicate watchpoints

This patch fixes ARM/AArch64 watchpoint bug which was taking inferior out of control while stepping over watchpoints.
Also adds a test case that tests above problem.

Differential revision: https://reviews.llvm.org/D25057

llvm-svn: 284706
lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/multi_watchpoint_slots/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/multi_watchpoint_slots/TestWatchpointMultipleSlots.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/multi_watchpoint_slots/main.c [new file with mode: 0644]
lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp
lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp