From owner-freebsd-bugs Fri Mar 24 11:40:53 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA17701 for bugs-outgoing; Fri, 24 Mar 1995 11:40:53 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id LAA17657 for ; Fri, 24 Mar 1995 11:39:41 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA11945; Fri, 24 Mar 1995 20:19:33 +0100 Received: by sax.sax.de (8.6.9/8.6.9-s1) with UUCP id UAA04062 for freebsd-bugs@FreeBSD.org; Fri, 24 Mar 1995 20:19:32 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id UAA10628 for freebsd-bugs@FreeBSD.org; Fri, 24 Mar 1995 20:03:48 +0100 From: J Wunsch Message-Id: <199503241903.UAA10628@uriah.heep.sax.de> Subject: Re: New Kernel, pppd crashing system. To: freebsd-bugs@FreeBSD.org (FreeBSD bugs list) Date: Fri, 24 Mar 1995 20:03:48 +0100 (MET) In-Reply-To: <199503241638.CAA26032@godzilla.zeta.org.au> from "Bruce Evans" at Mar 25, 95 02:38:47 am Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 921 Sender: bugs-owner@FreeBSD.org Precedence: bulk As Bruce Evans wrote: > > . (Unfortunately, GDB for some reason would not have seen the > >rn_walktree_from() stack frame.) > > I think `panic' gets done in debugger context. gcc doesn't understand > the debugger trap frame. `call panic' might work better. If it doesn't > then you can set $eip to somewhere that pushes suitable args and calls > `panic'. You should also consider using the `frame' command of (k)gdb with two arguments: the frame pointer and the instruction pointer. This does at least help out in the bogus ``calltrap()'' case. It's stated in the kernel debugging FAQ, even though it's still in the context of the old kgdb there. The new gdb has been update by Gary Jennejohn however, and does now also understand a ``dyadic frame specificat- ion''. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)