[Lldb-commits] [PATCH] D91268: [lldb] [Process/FreeBSDRemote] Access debug registers via offsets
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Nov 16 01:06:34 PST 2020
labath accepted this revision.
labath added inline comments.
================
Comment at: lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.cpp:699-711
+ uint32_t regno;
+ switch (GetRegisterInfoInterface().GetTargetArchitecture().GetMachine()) {
+ case llvm::Triple::x86:
+ regno = lldb_dr0_i386;
+ break;
+ case llvm::Triple::x86_64:
+ regno = lldb_dr0_x86_64;
----------------
`return GetDR(0)->byte_offset`?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91268/new/
https://reviews.llvm.org/D91268
More information about the lldb-commits
mailing list