K 10 svn:author V 3 jhb K 8 svn:date V 27 2015-02-18T19:24:15.290385Z K 7 svn:log V 957 - Add support for XSAVE on amd64 and i386 using the recently added PT_GETXSTATE_INFO and XSTATE core dump sections. - Use kern.proc.sigtramp on i386 to fix unwinding across signal frames. - Change the amd64 FreeBSD ABI to return an i386 target description when debugging a 32-bit process. This allows XSAVE debugging to work for an i386 binary on amd64. - Rework thread patches to pull all threads-related patches out of the main port patches and into a single optional patch. - Adjust the thread patches so that fbsd-threads.c passes register requests for LWPs down to the native target instead of calling ptrace directly. This allows XSAVE to work with threads without any other changes. The x86 nat.c files now pass LWP IDs to ptrace register operations (other platforms already did this). The supply/collect regset stubs are now only needed to support userland threads for libkse. PR: 197501 Approved by: maintainer, bdrewery END