From owner-freebsd-hackers Sun Apr 21 20: 4:44 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id C146A37B416 for ; Sun, 21 Apr 2002 20:04:40 -0700 (PDT) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.6) with SMTP id g3M34Sw10024; Sun, 21 Apr 2002 23:04:28 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sun, 21 Apr 2002 23:04:27 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Joshua Goodall Cc: freebsd-hackers@FreeBSD.org Subject: Re: kernel backtrace of sleeping processes In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 21 Apr 2002, Robert Watson wrote: > On Mon, 22 Apr 2002, Joshua Goodall wrote: > > In recent -CURRENT, you can just use > > trace > > or > > trace > > 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