diff options
author | Greentime Hu <greentime@andestech.com> | 2017-10-25 14:32:12 +0800 |
---|---|---|
committer | Greentime Hu <greentime@andestech.com> | 2018-02-22 10:44:34 +0800 |
commit | e9d0704aa134de05b21085e6e9dab863e7ab38f7 (patch) | |
tree | 9097860150f2f4c12024a108b5dc7d8ef83e64ac /arch/nds32/include | |
parent | ace02e2badd12e34d781780517614c42dbbf8068 (diff) | |
download | linux-e9d0704aa134de05b21085e6e9dab863e7ab38f7.tar.bz2 |
nds32: Debugging support
This patch adds ptrace support.
Signed-off-by: Vincent Chen <vincentc@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/nds32/include')
-rw-r--r-- | arch/nds32/include/uapi/asm/ptrace.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/nds32/include/uapi/asm/ptrace.h b/arch/nds32/include/uapi/asm/ptrace.h new file mode 100644 index 000000000000..358c99e399d0 --- /dev/null +++ b/arch/nds32/include/uapi/asm/ptrace.h @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: GPL-2.0 +// Copyright (C) 2005-2017 Andes Technology Corporation + +#ifndef __UAPI_ASM_NDS32_PTRACE_H +#define __UAPI_ASM_NDS32_PTRACE_H + +#ifndef __ASSEMBLY__ + +/* + * User structures for general purpose register. + */ +struct user_pt_regs { + long uregs[26]; + long fp; + long gp; + long lp; + long sp; + long ipc; + long lb; + long le; + long lc; + long syscallno; +}; +#endif +#endif |