From owner-freebsd-hackers@FreeBSD.ORG Sun Dec 3 19:07:36 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E9C916A4FC for ; Sun, 3 Dec 2006 19:07:36 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE20543D77 for ; Sun, 3 Dec 2006 19:06:42 +0000 (GMT) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5D756.dip.t-dialin.net [84.165.215.86]) by redbull.bpaserver.net (Postfix) with ESMTP id E36392E0A7; Sun, 3 Dec 2006 20:07:02 +0100 (CET) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by outgoing.leidinger.net (Postfix) with ESMTP id BE1135B4C6C; Sun, 3 Dec 2006 20:06:39 +0100 (CET) Date: Sun, 3 Dec 2006 20:07:34 +0100 From: Alexander Leidinger To: "Kevin Sanders" Message-ID: <20061203200734.4a678cdc@Magellan.Leidinger.net> In-Reply-To: <375baf50612030823p189d30f8j88507c058ce03e1f@mail.gmail.com> References: <20061202210741.02e0728a@kan.dnsalias.net> <375baf50612022005i6b9a174w5d251e710d8cefc@mail.gmail.com> <20061203064956.GB2405@kobe.laptop> <45728A19.7050300@u.washington.edu> <20061203101352.K40536@fledge.watson.org> <375baf50612030823p189d30f8j88507c058ce03e1f@mail.gmail.com> X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.10.6; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.787, required 6, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14, TW_PX 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No X-Mailman-Approved-At: Sun, 03 Dec 2006 19:31:41 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: Tools for FreeBSD development X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Dec 2006 19:07:36 -0000 Quoting "Kevin Sanders" (Sun, 3 Dec 2006 08:23:24 -0800): > On 12/3/06, Robert Watson wrote: > > If using FreeBSD on i386/amd64 boxes, use PXE. There are quite a few "instant > > setup" web pages out there that tell you how to get it running. pxeboot makes > > life incredibly easy, as you can load kernels, modules, configurations, etc, > > over NFS. > > > > Robert N M Watson > > Computer Laboratory > > University of Cambridge > > Thanks for th tips everyone. My shop has all the VMware tools, and > I've used QEMU, but I prefer to develop on a real box and debug over a > serial port on a second box. I'll give pxeboot a shot tomorrow. > > While we're on this topic, what is the best way to debug kernel > modules. I would like the ability to kldload my kernel module, set a > couple break points and single step through a section of code (at > least). cd # I'm using the old way of building make gdbinit In kgdb you can now use "getsyms" if you debug remotely (I haven't tested this) or "kldsyms" if you debug locally to load the debug symbols. Bye, Alexander. -- Groundskeepers stole the root password http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137