NetBSD/sys/arch/powerpc
martin 0953c39718 Pull up following revision(s) (requested by kamil in ticket #1117):
sys/arch/sh3/include/ptrace.h: revision 1.19
	sys/arch/amd64/amd64/process_machdep.c: revision 1.48
	sys/arch/sh3/sh3/process_machdep.c: revision 1.23
	sys/arch/sh3/sh3/process_machdep.c: revision 1.24
	sys/arch/i386/i386/process_machdep.c: revision 1.95
	sys/arch/x86/x86/fpu.c (apply patch)
	sys/kern/sys_ptrace_common.c: revision 1.84
	sys/arch/powerpc/powerpc/process_machdep.c: revision 1.40
	sys/sys/ptrace.h: revision 1.71
	sys/arch/powerpc/powerpc/process_machdep.c: revision 1.41
	(all via patch, adapted)

Fix s87_tw reconstruction to correctly indicate register states

Fix the code reconstructing s87_tw (full tag word) from fx_sw (abridged
tag word) to correctly represent all register states.  The previous code
only distinguished between empty/non-empty registers, and assigned
'regular value' to all non-empty registers.  The new code explicitly
distinguishes the two other tag word values: empty and special.

Fix the machine-dependent ptrace register-related requests (e.g.
PT_GETXMMREGS, PT_GETXSTATE on x86) to correctly respect the LWP number
passed as the data argument.  Before this change, these requests
did not operate on the requested LWP of a multithreaded program.
This change required moving ptrace_update_lwp() out of unit scope,
and changing ptrace_machdep_dorequest() function to take a pointer
to pointer as the second argument, consistently with ptrace_regs().

I am planning to extend the ATF ptrace() register tests in the future
to check for regressions in multithreaded programs, as time permits.

Reviewed by kamil.

Add missing 'error' declaration
2020-10-18 18:42:10 +00:00
..
booke Pull up following revision(s) (requested by rin in ticket #771): 2020-03-09 10:11:40 +00:00
conf Pull up following revision(s) (requested by rin in ticket #730): 2020-02-25 20:22:14 +00:00
fpu PR port-powerpc/51368: powerpc FPU emulation fails for single precision 2016-12-28 10:52:30 +00:00
ibm4xx Pull up following revision(s) (requested by rin in ticket #772): 2020-03-09 11:52:14 +00:00
include Pull up following revision(s) (requested by rin in ticket #773): 2020-03-09 10:36:42 +00:00
isa "Make NetBSD great again!" 2016-12-23 07:15:27 +00:00
marvell remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
oea Pull up following revision(s) (requested by rin in ticket #938): 2020-06-07 12:21:35 +00:00
pci IRQ0 is perfectly legal to use on at least some macppc, so don't treat it 2018-03-02 19:36:19 +00:00
pic Pull up following revision(s) (requested by rin in ticket #730): 2020-02-25 20:22:14 +00:00
powerpc Pull up following revision(s) (requested by kamil in ticket #1117): 2020-10-18 18:42:10 +00:00
stand
tools/chrpicon
Makefile
Makefile.inc