From owner-freebsd-hackers Tue Jul 29 09:54:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA28562 for hackers-outgoing; Tue, 29 Jul 1997 09:54:49 -0700 (PDT) Received: from gta.gta.com (gta.gta.com [199.120.225.2]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id JAA28557 for ; Tue, 29 Jul 1997 09:54:46 -0700 (PDT) Message-Id: <199707291659.MAA08615@gta.gta.com> Received: forwarded by SMTP 1.6.0. From: "Larry Baird" Date: Tue, 29 Jul 1997 12:51:12 -0400 X-Mailer: Z-Mail (3.0.1 04apr94) To: hackers@freebsd.org Subject: debugging double fault Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Can anyone give me a little guidance in how to find the original stack during a double fault. I have searched the archives and found references to "curpcb" and "tmpstk". But I am not sure what to do with these structures. I suspect the one I am really interested in is tmpstk. My code is some networking code that runs out of ip_input(). I have using the remote debugging option of gdb -k over a serial line. Almost forgot, I am running FreeBSD 2.2.2. Thanks, Larry -- ----------------------------------------------------------------------------- Larry Baird | Global Technology Associates, Inc. Director, Software Development | Orlando, FL Email: lab@gta.com | Tel 407-380-0220 FAX 407-380-6080