From owner-cvs-src@FreeBSD.ORG Thu Aug 14 22:52:49 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C57B237B401; Thu, 14 Aug 2003 22:52:49 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7084F43FAF; Thu, 14 Aug 2003 22:52:49 -0700 (PDT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h7F5qn0U019657; Thu, 14 Aug 2003 22:52:49 -0700 (PDT) (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h7F5qmV7019656; Thu, 14 Aug 2003 22:52:48 -0700 (PDT) Message-Id: <200308150552.h7F5qmV7019656@repoman.freebsd.org> From: Marcel Moolenaar Date: Thu, 14 Aug 2003 22:52:48 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/ia64/ia64 elf_machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2003 05:52:50 -0000 marcel 2003/08/14 22:52:48 PDT FreeBSD src repository Modified files: sys/ia64/ia64 elf_machdep.c Log: Fix the generation of coredumps. We did not take the dirty registers that were on the kernel stack into account. For now we write them out to the register stack of the process before creating the dump. This however is not the final solution. The problem is that we may invalidate the coredump by overwriting vital information due to an invalid backing store pointer. Instead we need to write the dirty registers to an unused region of VM which will result in a seperate segment in the coredump. For now we can at least get to all the registers from a coredump. Revision Changes Path 1.12 +38 -1 src/sys/ia64/ia64/elf_machdep.c