Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2001 11:00:11 +0100
From:      Mark Santcroos <marks@ripe.net>
To:        Julian Elischer <julian@elischer.org>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: debugging question
Message-ID:  <20011031110011.A496@laptop.6bone.nl>
In-Reply-To: <3BDFC02B.AE8E3E8F@elischer.org>; from julian@elischer.org on Wed, Oct 31, 2001 at 01:11:07AM -0800
References:  <Pine.NEB.3.96L.1011030171515.64915A-100000@fledge.watson.org> <Pine.BSF.4.21.0110301537590.26174-100000@InterJet.elischer.org> <20011031092035.A573@laptop.6bone.nl> <3BDFC02B.AE8E3E8F@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Ah great. Thanks alot!

Mark

On Wed, Oct 31, 2001 at 01:11:07AM -0800, Julian Elischer wrote:
> 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 <CTL><ALT><ESC>
> > > 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

-- 
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011031110011.A496>