C-SKY: remove user_regs definition
authorMao Han <han_mao@c-sky.com>
Mon, 11 Mar 2019 01:48:51 +0000 (09:48 +0800)
committerMao Han <han_mao@c-sky.com>
Mon, 11 Mar 2019 01:48:51 +0000 (09:48 +0800)
commit827e30f3a31ee294eb23dc572f8af62158049257
treeaf716fe3ba339253c29d7345004194c7bfb6422d
parent6229c9bff7e3171a565b78f7f1a210126e041b5b
C-SKY: remove user_regs definition

C-SKY GDB dose not use this file for ptrace and coredump.  ptrace can use
pt_regs definition from linux kernel directly.  The old definition only
got 34 regs instead of 38 regs from linux kernel, which will corrupted
the memory after ptrace PTRACE_GETREGSET call.

* sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
directly.
* sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
definition.
ChangeLog
sysdeps/unix/sysv/linux/csky/bits/procfs.h
sysdeps/unix/sysv/linux/csky/sys/user.h