Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 May 2000 18:07:59 -0700 (PDT)
From:      Archie Cobbs <archie@whistle.com>
To:        n_hibma@calcaphon.com (Nick Hibma)
Cc:        jcm@freebsd-uk.eu.org (J McKitrick), hackers@FreeBSD.ORG
Subject:   Re: boot/kernel debugging
Message-ID:  <200005250107.SAA02960@bubba.whistle.com>
In-Reply-To: <Pine.BSF.4.20.0005211157520.797-100000@localhost> from Nick Hibma at "May 21, 2000 12:02:53 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Nick Hibma writes:
> In general it is well possible to single step anything in the
> kernel. You might find occasions where things stop working, and odd
> cases were things all of a sudden start working, but normally, apart
> from hardware things, most things are not time critical, or create
> problems through spin locks.
> 
> You can single step at boot time, by setting the flags in the loader.
> 
> 	set boot_ddb	# jump to debugger
> 	set boot_gdb	# use remote gdb for debugging by default

Also don't for get 'sysctl -w debug.enter_debugger=ddb' (or gdb)
to enter the debugger from the command line.

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


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?200005250107.SAA02960>