summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/kvx/sys/user.h
diff options
context:
space:
mode:
authorYann Sionneau <ysionneau@kalray.eu>2023-09-14 16:55:22 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2023-09-14 17:25:01 +0200
commitb49013485476dd508ae82e6143e1e73795e4c348 (patch)
treef00fffb0fa0b23b9d86e3b3405ad1c18a50f2895 /libc/sysdeps/linux/kvx/sys/user.h
parent1a912c255f0def201615985bfd30827a234cdc67 (diff)
kvx: align specification of user regs
Align the specification of the ptrace interface with how it is specified on RISC-V. Signed-off-by: Yann Sionneau <ysionneau@kalray.eu>
Diffstat (limited to 'libc/sysdeps/linux/kvx/sys/user.h')
-rw-r--r--libc/sysdeps/linux/kvx/sys/user.h28
1 files changed, 1 insertions, 27 deletions
diff --git a/libc/sysdeps/linux/kvx/sys/user.h b/libc/sysdeps/linux/kvx/sys/user.h
index 2e228ff19..c871f1a03 100644
--- a/libc/sysdeps/linux/kvx/sys/user.h
+++ b/libc/sysdeps/linux/kvx/sys/user.h
@@ -1,27 +1 @@
-/*
- * This file is subject to the terms and conditions of the LGPL V2.1
- * License. See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 2019 Kalray Inc.
- */
-
-#ifndef _SYS_USER_H
-#define _SYS_USER_H 1
-
-struct user_regs_struct
-{
- /* GPR */
- unsigned long long gpr_regs[64];
-
- /* SFR */
- unsigned long lc;
- unsigned long le;
- unsigned long ls;
- unsigned long ra;
-
- unsigned long cs;
- unsigned long spc;
-};
-
-#endif
+/* This file is not needed, but in practice gdb might try to include it. */