From owner-freebsd-arch Thu Oct 18 19:58:36 2001 Delivered-To: freebsd-arch@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [24.14.150.180]) by hub.freebsd.org (Postfix) with ESMTP id 1546237B405 for ; Thu, 18 Oct 2001 19:58:30 -0700 (PDT) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f9J2wTM13664 for ; Thu, 18 Oct 2001 19:58:29 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id B18163803; Thu, 18 Oct 2001 19:58:29 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Greg Lehey Cc: FreeBSD-arch@FreeBSD.ORG Subject: Re: /usr/src/sys/scripts? In-Reply-To: <20011018101828.A88312@wantadilla.lemis.com> Date: Thu, 18 Oct 2001 19:58:29 -0700 From: Peter Wemm Message-Id: <20011019025829.B18163803@overcee.netplex.com.au> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Greg Lehey wrote: > BSD/OS has a directory /usr/src/sys/scripts which contains macros for > kernel debugging. I have a number of macros here that I've > accumulated over time, and I'd like to commit them. I'd also like to > modify config(8) to install a .gdbinit in the kernel build directory > if debugging has been specified; the .gdbinit would load macros from > ../../scripts in order to help with kernel debugging. Just add a Makefile.* rule to add a ln -s from .gdbinit to $S/../../scripts/.gdbinit. No need to add more config(8) hacks. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message