From owner-p4-projects Sat Nov 23 15: 0:11 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 91EDD37B404; Sat, 23 Nov 2002 15:00:08 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F7AE37B401 for ; Sat, 23 Nov 2002 15:00:08 -0800 (PST) Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B9D443E3B for ; Sat, 23 Nov 2002 15:00:07 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by kayak.xcllnt.net (8.12.6/8.12.6) with ESMTP id gANN070N066814; Sat, 23 Nov 2002 15:00:07 -0800 (PST) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.6/8.12.6) with ESMTP id gANN0HtP008803; Sat, 23 Nov 2002 15:00:17 -0800 (PST) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.6/8.12.6/Submit) id gANN0Hmo008802; Sat, 23 Nov 2002 15:00:17 -0800 (PST) (envelope-from marcel) Date: Sat, 23 Nov 2002 15:00:17 -0800 From: Marcel Moolenaar To: Doug Rabson Cc: Perforce Change Reviews Subject: Re: PERFORCE change 21417 for review Message-ID: <20021123230017.GB8744@dhcp01.pn.xcllnt.net> References: <200211232017.gANKHAAk090869@repoman.freebsd.org> <200211232250.38412.dfr@nlsystems.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200211232250.38412.dfr@nlsystems.com> User-Agent: Mutt/1.5.1i Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Nov 23, 2002 at 10:50:38PM +0000, Doug Rabson wrote: > On Saturday 23 November 2002 8:17 pm, Marcel Moolenaar wrote: > > http://perforce.freebsd.org/chv.cgi?CH=21417 > > > > Change 21417 by marcel@marcel_nfs on 2002/11/23 12:17:09 > > > > Raw, untested implementation of EPC syscalls. > > This seems to be missing the bit after calling syscall() which checks > for a full exception_restore, e.g. after an execve and also the check > for calling ast(), e.g. after a signal. Yes. [snip] > > One other thing after re-familiarising myself with exception.s. You have > added unwind records to all the kernel IVT entry points. This is quite > unhelpful when trying to debug kernel faults. The previous version > which manually unwound past the exception to the code which faulted was > extremely useful and saved me a lot of time in debugging. Can we have > it back please :-). If we want to use unwinding to get to the register state of the process, we can never unwind over the exception code. It's probably much easier to restart unwinding after it stopped at the exception entry point. This would also hold for signal handlers. Would a DDB command to resume unwinding work? -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message