[Lldb-commits] [PATCH] D16508: NetBSD: Define initial RegisterContextNetBSD_x86_64

Todd Fiala via lldb-commits lldb-commits at lists.llvm.org
Sat Jan 23 09:36:40 PST 2016


tfiala added a comment.

If all else fails when trying to look up the NetBSD expectations about register access, you can start with the ptrace interface (man ptrace).  It should have some way for you to ask for some kind of register-file-offset-based value and a width to retrieve content from the registers for a process being ptraced.  The docs there should tell you how to find out what are valid register offsets, which should lead you to the data and expectations for the user area layout.  (This is assuming the ptrace mechanism on NetBSD looks anything similar to other Unix variants).


Repository:
  rL LLVM

http://reviews.llvm.org/D16508





More information about the lldb-commits mailing list