From 94b35ac8ba6c670755f5c398f89709d960544622 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Thu, 5 Mar 2009 19:52:25 +0000 Subject: Make ELF platforms generate ELF core dumps. Somewhat based on code from NetBSD. ok kurt@, drahn@, miod@ --- sys/arch/sparc64/sparc64/process_machdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch/sparc64') diff --git a/sys/arch/sparc64/sparc64/process_machdep.c b/sys/arch/sparc64/sparc64/process_machdep.c index d57c0887ebd..fb403b4513c 100644 --- a/sys/arch/sparc64/sparc64/process_machdep.c +++ b/sys/arch/sparc64/sparc64/process_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: process_machdep.c,v 1.11 2007/10/31 22:46:52 kettenis Exp $ */ +/* $OpenBSD: process_machdep.c,v 1.12 2009/03/05 19:52:23 kettenis Exp $ */ /* $NetBSD: process_machdep.c,v 1.10 2000/09/26 22:05:50 eeh Exp $ */ /* @@ -231,10 +231,10 @@ process_write_fpregs(p, regs) return 0; } +#endif /* PTRACE */ + register_t process_get_wcookie(struct proc *p) { return p->p_addr->u_pcb.pcb_wcookie; } - -#endif /* PTRACE */ -- cgit v1.2.3