1 /* written by Philipp Rumpf, Copyright (C) 1999 SuSE GmbH Nuernberg
2 ** Copyright (C) 2000 Grant Grundler, Hewlett-Packard
4 #ifndef _UAPI_PARISC_PTRACE_H
5 #define _UAPI_PARISC_PTRACE_H
8 #include <linux/types.h>
10 /* This struct defines the way the registers are stored on the
11 * stack during a system call.
13 * N.B. gdb/strace care about the size and offsets within this
14 * structure. If you change things, you may break object compatibility
15 * for those applications.
19 unsigned long gr
[32]; /* PSW is in gr[0] */
22 unsigned long iasq
[2];
23 unsigned long iaoq
[2];
25 unsigned long pad0
; /* available for other uses */
26 unsigned long orig_r28
;
29 unsigned long sar
; /* CR11 */
30 unsigned long iir
; /* CR19 */
31 unsigned long isr
; /* CR20 */
32 unsigned long ior
; /* CR21 */
33 unsigned long ipsw
; /* CR22 */
37 * The numbers chosen here are somewhat arbitrary but absolutely MUST
38 * not overlap with any of the number assigned in <linux/ptrace.h>.
40 * These ones are taken from IA-64 on the assumption that theirs are
41 * the most correct (and we also want to support PTRACE_SINGLEBLOCK
42 * since we have taken branch traps too)
44 #define PTRACE_SINGLEBLOCK 12 /* resume execution until next branch */
47 #endif /* _UAPI_PARISC_PTRACE_H */