From owner-freebsd-hackers Wed Oct 31 1:20:17 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from InterJet.elischer.org (c421509-a.pinol1.sfba.home.com [24.7.86.9]) by hub.freebsd.org (Postfix) with ESMTP id D0DAA37B403 for ; Wed, 31 Oct 2001 01:20:12 -0800 (PST) Received: from elischer.org (InterJet.elischer.org [192.168.1.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id BAA34949; Wed, 31 Oct 2001 01:11:36 -0800 (PST) Message-ID: <3BDFC02B.AE8E3E8F@elischer.org> Date: Wed, 31 Oct 2001 01:11:07 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Mark Santcroos Cc: "Andrew R. Reiter" , hackers@FreeBSD.ORG Subject: Re: debugging question References: <20011031092035.A573@laptop.6bone.nl> Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit 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 Mark Santcroos wrote: > > Thats what I already said in my email :) > > I was hoping that there is some way to dump the codepath of the kernel. > > Or is it maybe possible from ddb to move the context of a certain process > and trace from there? tr PID gives you teh stack of that PID then set a breakpoint in a location that you know it will go through (e.g. one of the return addresses given in the trace) and then continue. > > Mark > > ps. I have narrowed it down already a bit more and hope to come with a bug > report on -current in the coming days. > > On Tue, Oct 30, 2001 at 03:38:45PM -0800, Julian Elischer wrote: > > when the system is looping, hit > > to drop into the debugger. > > > > On Tue, 30 Oct 2001, Andrew R. Reiter wrote: > > > > > On Tue, 30 Oct 2001, Mark Santcroos wrote: > > > > > > :How can I see in what piece of the kernel it is looping? > > > :(I know about where it is, but not exactly) > > > : > > > > > > Use ddb to set a break -- you may need to do this upon boot (boot -d) > > > > > > *-------------................................................. > > > | Andrew R. Reiter > > > | arr@fledge.watson.org > > > | "It requires a very unusual mind > > > | to undertake the analysis of the obvious" -- A.N. Whitehead > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-hackers" in the body of the message > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message > > -- > Mark Santcroos RIPE Network Coordination Centre > http://www.ripe.net/home/mark/ New Projects Group/TTM > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- +------------------------------------+ ______ _ __ | __--_|\ Julian Elischer | \ U \/ / hard at work in | / \ julian@elischer.org +------>x USA \ a very strange | ( OZ ) \___ ___ | country ! +- X_.---._/ presently in San Francisco \_/ \\ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message