Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hppa/include fix register names
details: https://anonhg.NetBSD.org/src/rev/3b3092b6073e
branches: trunk
changeset: 819270:3b3092b6073e
user: christos <christos%NetBSD.org@localhost>
date: Fri Nov 25 02:27:43 2016 +0000
description:
fix register names
diffstat:
sys/arch/hppa/include/ptrace.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r cf82ab0d2571 -r 3b3092b6073e sys/arch/hppa/include/ptrace.h
--- a/sys/arch/hppa/include/ptrace.h Fri Nov 25 02:23:14 2016 +0000
+++ b/sys/arch/hppa/include/ptrace.h Fri Nov 25 02:27:43 2016 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index