c3ade864d96a49025a0fc6af2f940806ed86681e
support PTRACE_SETREGS. In struct process, add 'unsigned long *ptrace_debugreg', instead of 'struct user *userp'. debug registers are read/written from/to ptrace_debugreg, save/restore in schedule(). most general registers are proc->uctx. fs_base is proc->thread.tlsblock_base. gs_base,ds,es,fs,gs and orig_rax are uncompleted. other members in 'struct user' are ignored, same as Linux implementation. refs #257 refs #373 refs #263
Description
Languages
C
85.3%
Shell
7.7%
Perl
3.4%
Assembly
1.3%
CMake
1.2%
Other
1%