Date: Thu, 18 Oct 2001 12:49:22 -0600 From: Nate Williams <nate@yogotech.com> To: Dag-Erling Smorgrav <des@ofug.org> Cc: Greg Lehey <grog@lemis.com>, FreeBSD-arch@FreeBSD.ORG Subject: Re: /usr/src/sys/scripts? Message-ID: <15311.9266.464139.798092@nomad.yogotech.com> In-Reply-To: <xzpy9m9wgux.fsf@flood.ping.uio.no> References: <20011018101828.A88312@wantadilla.lemis.com> <xzpy9m9wgux.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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? Yes, and no. Yes because that's where it may be useful, and no because it's a place for crashdumps, not for analyzing crashdumps. Most folks will probably not analyze the crashdumps, or they will copy them off somewhere else so they can free up /var/crash for the next crashdump, so I'd say stick .gdbinit somewhere else. Nate 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?15311.9266.464139.798092>