[Lldb-commits] [PATCH] D63545: [lldb] [Process/NetBSD] Support reading YMM registers via PT_*XSTATE [DO NOT MERGE]

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 19 05:53:10 PDT 2019


mgorny created this revision.
mgorny added reviewers: krytarowski, labath, JDevlieghere.
Herald added a subscriber: emaste.

Provide a (conditional) support for the new PT_GETXSTATE
and PT_SETXSTATE ptrace() requests, and use them to implement getting
and setting YMM registers.  The functions used for splitting
and recombining YMM register data are based on matching functions
in FreeBSD plugin, with some simplification and updates to match NetBSD
structures.

// Note: the needed NetBSD kernel patches have not been committed yet, I'm asking for early feedback.


https://reviews.llvm.org/D63545

Files:
  lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD.cpp
  lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD.h
  lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp
  lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63545.205560.patch
Type: text/x-patch
Size: 11305 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190619/a1886e9a/attachment-0001.bin>


More information about the lldb-commits mailing list