Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/netbsd32 catch up with latest sigctx changes; rep...
details: https://anonhg.NetBSD.org/src/rev/dc7b06698543
branches: trunk
changeset: 552000:dc7b06698543
user: christos <christos%NetBSD.org@localhost>
date: Mon Sep 15 18:35:02 2003 +0000
description:
catch up with latest sigctx changes; reported by John Heasley, thanks!
diffstat:
sys/compat/netbsd32/netbsd32_core.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 0716f387d0cc -r dc7b06698543 sys/compat/netbsd32/netbsd32_core.c
--- a/sys/compat/netbsd32/netbsd32_core.c Mon Sep 15 18:05:24 2003 +0000
+++ b/sys/compat/netbsd32/netbsd32_core.c Mon Sep 15 18:35:02 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_core.c,v 1.8 2003/09/07 21:37:19 rafal Exp $ */
+/* $NetBSD: netbsd32_core.c,v 1.9 2003/09/15 18:35:02 christos Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_core.c,v 1.8 2003/09/07 21:37:19 rafal Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_core.c,v 1.9 2003/09/15 18:35:02 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -82,8 +82,8 @@
cs.core.c_midmag = 0;
strncpy(cs.core.c_name, p->p_comm, MAXCOMLEN);
cs.core.c_nseg = 0;
- cs.core.c_signo = p->p_sigctx.ps_siginfo.ksi_signo;
- cs.core.c_ucode = p->p_sigctx.ps_siginfo.ksi_trap;
+ cs.core.c_signo = p->p_sigctx.ps_signo;
+ cs.core.c_ucode = p->p_sigctx.ps_code;
cs.core.c_cpusize = 0;
cs.core.c_tsize = (u_long)ctob(vm->vm_tsize);
cs.core.c_dsize = (u_long)ctob(vm->vm_dsize);
Home |
Main Index |
Thread Index |
Old Index