Date: Fri, 24 Mar 1995 20:03:48 +0100 (MET) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-bugs@FreeBSD.org (FreeBSD bugs list) Subject: Re: New Kernel, pppd crashing system. Message-ID: <199503241903.UAA10628@uriah.heep.sax.de> In-Reply-To: <199503241638.CAA26032@godzilla.zeta.org.au> from "Bruce Evans" at Mar 25, 95 02:38:47 am
next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503241903.UAA10628>