From owner-freebsd-hackers Mon Mar 4 02:01:19 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA17755 for hackers-outgoing; Mon, 4 Mar 1996 02:01:19 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id BAA17485 for ; Mon, 4 Mar 1996 01:59:04 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id KAA09086 for ; Mon, 4 Mar 1996 10:54:25 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id KAA04511 for freebsd-hackers@freebsd.org; Mon, 4 Mar 1996 10:54:24 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id KAA00456 for freebsd-hackers@freebsd.org; Mon, 4 Mar 1996 10:46:55 +0100 (MET) From: J Wunsch Message-Id: <199603040946.KAA00456@uriah.heep.sax.de> Subject: Re: using ddb to debug a double-panic? To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Mon, 4 Mar 1996 10:46:55 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199603020859.AAA13750@Root.COM> from "David Greenman" at Mar 2, 96 00:59:04 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org Precedence: bulk As David Greenman wrote: > >Is there a simple sequence I can type into ddb to switch stack > pointers and >frames so I can do a "where" to see where I was when > the first panic occured? > I thought about writing some extensions to "trace" to allow it to > apply a (operator supplied) 'stack offset' that would be used to > adjust the pushed FPs (for precisely the purpose of what you're > requesting above). What's wrong with the ``dyadic frame specification''? (``frame new-fp new-pc'') -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)