Date: Sun, 21 Apr 2002 23:04:27 -0400 (EDT) From: Robert Watson <rwatson@FreeBSD.org> To: Joshua Goodall <joshua@roughtrade.net> Cc: freebsd-hackers@FreeBSD.org Subject: Re: kernel backtrace of sleeping processes Message-ID: <Pine.NEB.3.96L.1020421224741.91313I-100000@fledge.watson.org> In-Reply-To: <Pine.NEB.3.96L.1020421224638.91313H-100000@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 21 Apr 2002, Robert Watson wrote: > On Mon, 22 Apr 2002, Joshua Goodall wrote: > > In recent -CURRENT, you can just use > > trace <pid> > > or > > trace <addressofstack> > > I have to say that since that since this feature was introduced, life > has become a *lot* easier :-). Sigh. Remote gdb, not ddb. I tried the usual tricks (updating $sp in gdb, etc) but gdb persisted in using the old frame. Nevermind. It seemed to me that on i386, just using the value of allproc.lh_first->(....)->p_threads.tqh_first.td_frame.tf_esp should DTRT, but apparently not. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1020421224741.91313I-100000>