From d9264c4f76ab5e67a6bdf6d218462b60401fb4dd Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 23 May 1996 05:32:24 +0000 Subject: [PATCH] Wed May 22 00:40:50 1996 David Mosberger-Tang * sysdeps/unix/sysv/linux/Makefile (headers): Add alpha/ptrace.h. * sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h: New file. --- sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h diff --git a/sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h b/sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h new file mode 100644 index 0000000..57b96d6 --- /dev/null +++ b/sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h @@ -0,0 +1,18 @@ +#ifndef __alpha_ptrace_h__ +#define __alpha_ptrace_h__ + +/* + * Mostly for OSF/1 compatibility. + */ + +#define REG_BASE 0 +#define NGP_REGS 32 +#define NFP_REGS 32 + +#define GPR_BASE REG_BASE +#define FPR_BASE (GPR_BASE+NGP_REGS) +#define PC (FPR_BASE+NFP_REGS) +#define SPR_PS (PC+1) +#define NPTRC_REGS (SPR_PS+1) + +#endif /* __alpha_ptrace_h__ */ -- 2.7.4