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/compat/svr4/svr4_exec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/compat/svr4') diff --git a/sys/compat/svr4/svr4_exec.c b/sys/compat/svr4/svr4_exec.c index d7b9cc55853..fd047282d39 100644 --- a/sys/compat/svr4/svr4_exec.c +++ b/sys/compat/svr4/svr4_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: svr4_exec.c,v 1.16 2008/06/12 04:32:59 miod Exp $ */ +/* $OpenBSD: svr4_exec.c,v 1.17 2009/03/05 19:52:24 kettenis Exp $ */ /* $NetBSD: svr4_exec.c,v 1.16 1995/10/14 20:24:20 christos Exp $ */ /* @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -77,6 +78,7 @@ struct emul emul_svr4 = { svr4_copyargs, setregs, exec_elf32_fixup, + coredump_trad, svr4_sigcode, svr4_esigcode, }; -- cgit v1.2.3