Module Name: src Committed By: christos Date: Fri Nov 25 02:27:43 UTC 2016
Modified Files: src/sys/arch/hppa/include: ptrace.h Log Message: fix register names To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/hppa/include/ptrace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/hppa/include/ptrace.h diff -u src/sys/arch/hppa/include/ptrace.h:1.5 src/sys/arch/hppa/include/ptrace.h:1.6 --- src/sys/arch/hppa/include/ptrace.h:1.5 Fri Sep 25 12:05:17 2015 +++ src/sys/arch/hppa/include/ptrace.h Thu Nov 24 21:27:43 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: ptrace.h,v 1.5 2015/09/25 16:05:17 christos Exp $ */ +/* $NetBSD: ptrace.h,v 1.6 2016/11/25 02:27:43 christos Exp $ */ /* $OpenBSD: ptrace.h,v 1.2 1998/12/01 03:05:44 mickey Exp $ */ @@ -50,8 +50,8 @@ (r)->r_pcoqh = (v); \ (r)->r_pcoqt = (v) + 4; \ } while (/*CONSTCOND*/0) -#define PTRACE_REG_SP(r) (r)->r_out[30] -#define PTRACE_REG_INTRV(r) (r)->r_out[28] +#define PTRACE_REG_SP(r) (r)->r_regs[30] +#define PTRACE_REG_INTRV(r) (r)->r_regs[28] #define PTRACE_BREAKPOINT ((const uint8_t[]) { 0x00, 0x01, 0x00, 0x04 }) #define PTRACE_BREAKPOINT_SIZE 4