Included VSX registers in powerpc core dumps (both kernel and gcore)
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/powerpc/powerpc/elf64_machdep.c | ||
---|---|---|
249 ↗ | (On Diff #42805) | Is this change needed? 'len' is already 0 at this point. I guess if we were to add something before VMX this would be necessary. |
sys/powerpc/powerpc/elf64_machdep.c | ||
---|---|---|
249 ↗ | (On Diff #42805) | It's not needed. I did it because I thought making all the 'if' blocks (VMX / VSX) here the same would make the code less susceptible to errors. When adding new ones, people could just copy from either of them, change their order, and so on, without breaking anything. I guess it's the same thinking that led to using "len +=" instead of "len =" at the beginning of the line. |