freebsd-src/usr.bin/gcore
John Baldwin beeb3a0d3e MFC 274817,274878,276801,276840,278976:
Improve support for XSAVE with debuggers.
- Dump an NT_X86_XSTATE note if XSAVE is in use. This note is designed
  to match what Linux does in that 1) it dumps the entire XSAVE area
  including the fxsave state, and 2) it stashes a copy of the current
  xsave mask in the unused padding between the fxsave state and the
  xstate header at the same location used by Linux.
- Teach readelf() to recognize NT_X86_XSTATE notes.
- Change PT_GET/SETXSTATE to take the entire XSAVE state instead of
  only the extra portion. This avoids having to always make two
  ptrace() calls to get or set the full XSAVE state.
- Add a PT_GET_XSTATE_INFO which returns the length of the current
  XSTATE save area (so the size of the buffer needed for PT_GETXSTATE)
  and the current XSAVE mask (%xcr0).
2015-02-23 18:38:41 +00:00
..
elfcore.c MFC 274817,274878,276801,276840,278976: 2015-02-23 18:38:41 +00:00
extern.h
gcore.1 Start sentences on a new line to ease life for translators. Tweak the 2010-12-28 18:58:15 +00:00
gcore.c
Makefile Add some missing DPADD. 2013-05-11 13:46:05 +00:00