Wed May 22 00:40:50 1996 David Mosberger-Tang <davidm@azstarnet.com>
authorRoland McGrath <roland@gnu.org>
Thu, 23 May 1996 05:32:24 +0000 (05:32 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 23 May 1996 05:32:24 +0000 (05:32 +0000)
* 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 [new file with mode: 0644]

diff --git a/sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h b/sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h
new file mode 100644 (file)
index 0000000..57b96d6
--- /dev/null
@@ -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__ */