Page MenuHomeFreeBSD

Included VSX registers in powerpc core dumps
ClosedPublic

Authored by lffpires_ruabrasil.org on May 21 2018, 6:20 PM.
Referenced Files
F139429368: D15512.id.diff
Fri, Dec 12, 12:03 AM
F139394242: D15512.diff
Thu, Dec 11, 3:37 PM
Unknown Object (File)
Sun, Dec 7, 8:57 PM
Unknown Object (File)
Fri, Nov 28, 2:25 AM
Unknown Object (File)
Tue, Nov 25, 10:45 PM
Unknown Object (File)
Fri, Nov 21, 10:38 AM
Unknown Object (File)
Thu, Nov 20, 4:41 PM
Unknown Object (File)
Thu, Nov 20, 4:40 PM

Details

Summary

Included VSX registers in powerpc core dumps (both kernel and gcore)

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 16739
Build 16628: arc lint + arc unit

Event Timeline

sys/powerpc/powerpc/elf64_machdep.c
249

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

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.

This revision is now accepted and ready to land.May 31 2018, 4:48 AM
This revision was automatically updated to reflect the committed changes.