From owner-freebsd-arch Thu Oct 18 11:49:34 2001 Delivered-To: freebsd-arch@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id DF74137B408 for ; Thu, 18 Oct 2001 11:49:31 -0700 (PDT) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id MAA05411; Thu, 18 Oct 2001 12:49:23 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id MAA29513; Thu, 18 Oct 2001 12:49:22 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15311.9266.464139.798092@nomad.yogotech.com> Date: Thu, 18 Oct 2001 12:49:22 -0600 To: Dag-Erling Smorgrav Cc: Greg Lehey , FreeBSD-arch@FreeBSD.ORG Subject: Re: /usr/src/sys/scripts? In-Reply-To: References: <20011018101828.A88312@wantadilla.lemis.com> X-Mailer: VM 6.95 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) 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 > > 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