Now
MAIN commitmail json YAML
src/sys/arch/amd64/amd64/process_machdep.c@1.48
/
diff
/
nxr@1.48
src/sys/arch/i386/i386/process_machdep.c@1.95 / diff / nxr@1.95
src/sys/arch/powerpc/include/ptrace.h@1.18 / diff / nxr@1.18
src/sys/arch/powerpc/powerpc/process_machdep.c@1.40 / diff / nxr@1.40
src/sys/arch/sh3/include/ptrace.h@1.19 / diff / nxr@1.19
src/sys/arch/sh3/sh3/process_machdep.c@1.23 / diff / nxr@1.23
src/sys/kern/sys_ptrace_common.c@1.84 / diff / nxr@1.84
src/sys/sys/ptrace.h@1.71 / diff / nxr@1.71
src/sys/arch/i386/i386/process_machdep.c@1.95 / diff / nxr@1.95
src/sys/arch/powerpc/include/ptrace.h@1.18 / diff / nxr@1.18
src/sys/arch/powerpc/powerpc/process_machdep.c@1.40 / diff / nxr@1.40
src/sys/arch/sh3/include/ptrace.h@1.19 / diff / nxr@1.19
src/sys/arch/sh3/sh3/process_machdep.c@1.23 / diff / nxr@1.23
src/sys/kern/sys_ptrace_common.c@1.84 / diff / nxr@1.84
src/sys/sys/ptrace.h@1.71 / diff / nxr@1.71
Fix the machine-dependent ptrace requests to respect LWP number
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.
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.