Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2001 12:49:27 +0930
From:      Greg Lehey <grog@FreeBSD.org>
To:        Peter Wemm <peter@wemm.org>
Cc:        FreeBSD-arch@FreeBSD.ORG
Subject:   Re: /usr/src/sys/scripts?
Message-ID:  <20011019124926.Q60412@wantadilla.lemis.com>
In-Reply-To: <20011019025829.B18163803@overcee.netplex.com.au>; from peter@wemm.org on Thu, Oct 18, 2001 at 07:58:29PM -0700
References:  <20011018101828.A88312@wantadilla.lemis.com> <20011019025829.B18163803@overcee.netplex.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 18 October 2001 at 19:58:29 -0700, Peter Wemm wrote:
> 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.

Well, cp, not ln, and certainly not ln -s.  You'll sometimes need to
change things, like the serial port number.  And yes, that occurred to
me as well, and I agree it's the easiest way.

Greg
--
See complete headers for address and phone numbers

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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