From owner-freebsd-hackers Mon May 22 5:49: 8 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from anchor-post-31.mail.demon.net (anchor-post-31.mail.demon.net [194.217.242.89]) by hub.freebsd.org (Postfix) with ESMTP id 8820137B712 for ; Mon, 22 May 2000 05:48:55 -0700 (PDT) (envelope-from n_hibma@calcaphon.com) Received: from calcaphon.demon.co.uk ([193.237.19.5] helo=bluebottle.qubesoft.com) by anchor-post-31.mail.demon.net with esmtp (Exim 2.12 #1) id 12trdc-000H0G-0V; Mon, 22 May 2000 13:48:53 +0100 Received: from henny.webweaving.org (henny.qubesoft.com [192.168.1.5]) by bluebottle.qubesoft.com (8.9.3/8.9.1) with ESMTP id NAA34143; Mon, 22 May 2000 13:48:49 +0100 (BST) (envelope-from n_hibma@calcaphon.com) Received: from localhost (localhost [127.0.0.1]) by henny.webweaving.org (8.9.3/8.9.3) with ESMTP id MAA03353; Sun, 21 May 2000 12:02:54 +0100 (BST) (envelope-from n_hibma@calcaphon.com) Date: Sun, 21 May 2000 12:02:53 +0100 (BST) From: Nick Hibma X-Sender: n_hibma@localhost Reply-To: Nick Hibma To: J McKitrick Cc: hackers@freebsd.org Subject: Re: boot/kernel debugging In-Reply-To: <20000518045219.A59839@dogma.freebsd-uk.eu.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 Hope this helps. Nick > I've used softice for debugging under windows, and i was wondering if gdb > offers similar capabilities. It seems the best way to debug the ECP > parallel port problem is to step through the code during the boot phase. > Can this be done, or is there too much timing-critical stuff going on then? > > jm > -- > ------------------------------------------------------------------- > Jonathon McKitrick -- jcm@freebsd-uk.eu.org > I am a bomb technician. If you see me running, try to keep up. > ------------------------------------------------------------------- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > -- n_hibma@webweaving.org n_hibma@freebsd.org USB project http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message