about summary refs log tree commit diff
path: root/REORG.TODO/sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'REORG.TODO/sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h')
-rw-r--r--REORG.TODO/sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/REORG.TODO/sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h b/REORG.TODO/sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h
new file mode 100644
index 0000000000..57b96d64db
--- /dev/null
+++ b/REORG.TODO/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__ */