Module Name: src
Committed By: scole
Date: Mon Jun 29 17:09:33 UTC 2020
Modified Files:
src/sys/arch/ia64/include: mcontext.h
Log Message:
Fix for last checkin, don't try use non-existent register from a (currently)
dummy struct
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/ia64/include/mcontext.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/ia64/include/mcontext.h
diff -u src/sys/arch/ia64/include/mcontext.h:1.11 src/sys/arch/ia64/include/mcontext.h:1.12
--- src/sys/arch/ia64/include/mcontext.h:1.11 Mon Jun 29 01:37:27 2020
+++ src/sys/arch/ia64/include/mcontext.h Mon Jun 29 17:09:33 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: mcontext.h,v 1.11 2020/06/29 01:37:27 scole Exp $ */
+/* $NetBSD: mcontext.h,v 1.12 2020/06/29 17:09:33 scole Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -114,7 +114,7 @@ typedef struct __mcontext {
#define _UC_MACHINE_SP(uc) ((uc)->uc_mcontext.mc_special.sp) /* gregs[12] */
#define _UC_MACHINE_FP(uc) 0 /* Not supported in target */
#define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.mc_special.iip)
-#define _UC_MACHINE_INTRV(uc) ((uc)->uc_mcontext.__gregs[8])
+#define _UC_MACHINE_INTRV(uc) ((uc)->uc_mcontext.mc_scratch.gr8) /* gregs[8] */
#define _UC_MACHINE_SET_PC(uc, pc) (uc)->uc_mcontext.mc_special.iip = (pc)
#if defined(_RTLD_SOURCE) || defined(_LIBC_SOURCE) || \