HomePhabricator

[lldb] [Process/FreeBSDRemote] Access debug registers via offsets

Authored by mgorny on Wed, Nov 11, 6:20 AM.

Description

[lldb] [Process/FreeBSDRemote] Access debug registers via offsets

Use offset-based method to access x86 debug registers. This also
involves adding a test for the correctness of these offsets, and making
GetDR() method of NativeRegisterContextWatchpoint_x86 public to avoid
duplicate code.

Differential Revision: https://reviews.llvm.org/D91268