From 22d4b0fb418e0896f158ce3994ff117a708d7a7c Mon Sep 17 00:00:00 2001 From: John Polstra Date: Mon, 14 Sep 1998 05:36:51 +0000 Subject: Add provisions for variant core dump file formats, depending on the object format of the executable being dumped. This is the first step toward producing ELF core dumps in the proper format. I will commit the code to generate the ELF core dumps Real Soon Now. In the meantime, ELF executables won't dump core at all. That is probably no less useful than dumping a.out-style core dumps as they have done until now. Submitted by: Alex (with very minor changes by me) --- sys/alpha/linux/linux_sysvec.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'sys/alpha/linux') diff --git a/sys/alpha/linux/linux_sysvec.c b/sys/alpha/linux/linux_sysvec.c index 67ed448cad98..4b1380c9e80a 100644 --- a/sys/alpha/linux/linux_sysvec.c +++ b/sys/alpha/linux/linux_sysvec.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux_sysvec.c,v 1.31 1998/07/29 16:43:00 bde Exp $ + * $Id: linux_sysvec.c,v 1.32 1998/08/16 01:21:50 bde Exp $ */ /* XXX we use functions that might not exist. */ @@ -41,6 +41,7 @@ #include #include #include +#include #include #include #include @@ -401,7 +402,8 @@ struct sysentvec linux_sysvec = { linux_sigcode, &linux_szsigcode, linux_prepsyscall, - "Linux a.out" + "Linux a.out", + aout_coredump }; struct sysentvec elf_linux_sysvec = { @@ -418,7 +420,8 @@ struct sysentvec elf_linux_sysvec = { linux_sigcode, &linux_szsigcode, linux_prepsyscall, - "Linux ELF" + "Linux ELF", + elf_coredump }; /* -- cgit v1.3