Module Name: src Committed By: kamil Date: Thu Nov 24 04:08:37 UTC 2016
Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add regs[12345] in t_ptrace_wait{,3,4,6,id,pid} Add new ATF tests for the general purpose register calls. These tests require platforms to export all of the following macros: - PT_GETREGS - PT_SETREGS - PTRACE_REG_PC - PTRACE_REG_SET_PC - PTRACE_REG_SP - PTRACE_REG_INTRV This has been done for the sake of C preprocessor magic simplicity. There are ports without covering all of the above symbols -- skip them. Added tests =========== regs1: Verify plain PT_GETREGS call without further steps regs2: Verify plain PT_GETREGS call and retrieve PC regs3: Verify plain PT_GETREGS call and retrieve SP regs4: Verify plain PT_GETREGS call and retrieve INTRV regs5: Verify PT_GETREGS and PT_SETREGS calls without changing regs Sponsored by <The NetBSD Foundation> To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/tests/kernel/t_ptrace_wait.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.