[Lldb-commits] [PATCH] D91268: [lldb] [Process/FreeBSDRemote] Access debug registers via offsets

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 11 08:09:37 PST 2020


mgorny created this revision.
mgorny added reviewers: labath, emaste, krytarowski.
Herald added a subscriber: pengfei.
mgorny requested review of this revision.

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.


https://reviews.llvm.org/D91268

Files:
  lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.cpp
  lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.h
  lldb/source/Plugins/Process/Utility/NativeRegisterContextWatchpoint_x86.h
  lldb/unittests/Process/FreeBSD/RegisterContextFreeBSDTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91268.304522.patch
Type: text/x-patch
Size: 8819 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20201111/8a90a495/attachment-0001.bin>


More information about the lldb-commits mailing list