Date: Thu, 18 Oct 2001 17:06:03 +0930 From: Greg Lehey <grog@FreeBSD.org> To: Dag-Erling Smorgrav <des@ofug.org> Cc: FreeBSD-arch@FreeBSD.org Subject: Re: /usr/src/sys/scripts? Message-ID: <20011018170602.L95006@wantadilla.lemis.com> In-Reply-To: <xzpy9m9wgux.fsf@flood.ping.uio.no>; from des@ofug.org on Thu, Oct 18, 2001 at 09:24:22AM %2B0200 References: <20011018101828.A88312@wantadilla.lemis.com> <xzpy9m9wgux.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 18 October 2001 at 9:24:22 +0200, Dag-Erling Smorgrav wrote: > Greg Lehey <grog@FreeBSD.org> writes: >> 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. > > Wouldn't /var/crash be the logical place for .gdbinit? It's worth thinking about. But if you have multiple kernels, you may want to tweak your .gdbinit differently for each. And /var/crash doesn't have to be on the same machine. You could apply the same logic to kernel.debug, modulo size. 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?20011018170602.L95006>