labath added a comment.

How about we go even a bit further? The non-`Do` functions are now so trivial 
that the `Do` functions could be inlined into them, producing something like 
`return NativeProcessNetBSD::PtraceWrapper(PT_GETFPREGS, GetProcessPid(), 
GetFPRBuffer(),m_thread.GetID());`. If you wanted to be really fancy, you could 
define a function like `ReadRegisterSet(T regset, void *buffer)`, and call make 
that be `ReadRegisterSet(PT_GETFPREGS, GetFPRBuffer());`


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63594/new/

https://reviews.llvm.org/D63594



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to