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>
This commit is contained in:
Greentime Hu
2017-10-25 14:32:12 +08:00
parent ace02e2bad
commit e9d0704aa1
2 changed files with 144 additions and 0 deletions
+25
View File
@@ -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