Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 Make DEBUG code compile again.
details: https://anonhg.NetBSD.org/src/rev/8124de2daa13
branches: trunk
changeset: 826593:8124de2daa13
user: martin <martin%NetBSD.org@localhost>
date: Fri Sep 15 18:28:53 2017 +0000
description:
Make DEBUG code compile again.
diffstat:
sys/arch/sparc64/sparc64/svr4_32_machdep.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (40 lines):
diff -r c0bf10510237 -r 8124de2daa13 sys/arch/sparc64/sparc64/svr4_32_machdep.c
--- a/sys/arch/sparc64/sparc64/svr4_32_machdep.c Fri Sep 15 17:32:12 2017 +0000
+++ b/sys/arch/sparc64/sparc64/svr4_32_machdep.c Fri Sep 15 18:28:53 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svr4_32_machdep.c,v 1.39 2015/11/26 13:15:34 martin Exp $ */
+/* $NetBSD: svr4_32_machdep.c,v 1.40 2017/09/15 18:28:53 martin Exp $ */
/*-
* Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_32_machdep.c,v 1.39 2015/11/26 13:15:34 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_32_machdep.c,v 1.40 2017/09/15 18:28:53 martin Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@@ -226,7 +226,7 @@
#endif
#ifdef DEBUG_SVR4
- svr4_32_printmcontext("setmcontext", uc);
+ svr4_32_printmcontext("setmcontext", mc);
#endif
write_user_windows();
@@ -503,9 +503,9 @@
NETBSD32PTR32(frame.sf_ucp, &fp->sf_uc);
frame.sf_handler = catcher;
- DPRINTF(("svr4_32_sendsig signum=%d si = %p uc = %p handler = %p\n",
- frame.sf_signum, frame.sf_sip,
- frame.sf_ucp, frame.sf_handler));
+ DPRINTF(("svr4_32_sendsig signum=%d si = %x uc = %x handler = %p\n",
+ frame.sf_signum, frame.sf_sip.i32,
+ frame.sf_ucp.i32, frame.sf_handler));
/*
* Modify the signal context to be used by sigreturn.
*/
Home |
Main Index |
Thread Index |
Old Index