mirror of
https://github.com/ukui/kernel.git
synced 2026-03-09 10:07:04 -07:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user