OSDN Git Service

[lldb/debugserver] Implement hardware breakpoints for x86_64 and i386
authorJonas Devlieghere <jonas@devlieghere.com>
Fri, 24 Jan 2020 23:06:00 +0000 (15:06 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Fri, 24 Jan 2020 23:07:31 +0000 (15:07 -0800)
commit96f3ea0d21b48ca088355db10d4d1a2e9bc9f884
tree55e3bd2cc952da0fc51236d89c087decddb84975
parent9902c8e3c6615185a8a00325fa4671c63b61d535
[lldb/debugserver] Implement hardware breakpoints for x86_64 and i386

This implements hardware breakpoints for x86_64 and i386 in debugserver.
It's based on Pedro's patch sent to lldb-commits [1] although most of it
is the same as the existing hardware watchpoint implementation.

[1] http://lists.llvm.org/pipermail/lldb-commits/Week-of-Mon-20200113/060327.html

Differential revision: https://reviews.llvm.org/D72985
lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/TestHWBreakMultiThread.py
lldb/tools/debugserver/source/MacOSX/arm/DNBArchImpl.cpp
lldb/tools/debugserver/source/MacOSX/arm/DNBArchImpl.h
lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp
lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h
lldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp
lldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h
lldb/tools/debugserver/source/RNBRemote.cpp