patch-2.3.23 linux/include/asm-arm/ptrace.h
Next file: linux/include/asm-arm/semaphore.h
Previous file: linux/include/asm-arm/procinfo.h
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Wed Oct 20 16:29:08 1999
- Orig file:
v2.3.22/linux/include/asm-arm/ptrace.h
- Orig date:
Tue Jan 20 16:39:43 1998
diff -u --recursive --new-file v2.3.22/linux/include/asm-arm/ptrace.h linux/include/asm-arm/ptrace.h
@@ -3,9 +3,18 @@
#include <asm/proc/ptrace.h>
+#ifndef __ASSEMBLY__
+#define pc_pointer(v) \
+ ((v) & ~PCMASK)
+
+#define instruction_pointer(regs) \
+ (pc_pointer((regs)->ARM_pc))
+
#ifdef __KERNEL__
extern void show_regs(struct pt_regs *);
#endif
+
+#endif /* __ASSEMBLY__ */
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)