From: Roland McGrath Date: Thu, 23 May 1996 05:32:24 +0000 (+0000) Subject: Wed May 22 00:40:50 1996 David Mosberger-Tang X-Git-Tag: upstream/2.30~10627^2~3831 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d9264c4f76ab5e67a6bdf6d218462b60401fb4dd;p=external%2Fglibc.git 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. --- 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__ */