Wed May 22 00:40:50 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/unix/sysv/linux/Makefile (headers): Add alpha/ptrace.h. * sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h: New file.
This commit is contained in:
parent
2810021b9b
commit
d9264c4f76
|
@ -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__ */
|
Loading…
Reference in New Issue