This adds the register plumbing, as well as register reading in FreeBSD core
dumps. Further work on the POSIX/FreeBSD ProcessMonitor is required in order to
support ptrace access to these registers.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I'm not familiar with low-level ppc details but overall looks fine to me.
Two minor comments,
- reg_info->name[0] == 'v' feels somewhat kludgey.
- We'll need a similar change on x86; I think vregset is probably a sufficiently generic name.
Comment Actions
You're right, it is a kludge. I followed the FPR check, which I think I copied from somewhere else. I've since fixed both, with an IsFPR() for the FPR check, and added a 'IsVMX()' function to check VMX registers.