From owner-freebsd-arch Fri Oct 19 17:35:55 2001 Delivered-To: freebsd-arch@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id AE43A37B407; Fri, 19 Oct 2001 17:35:41 -0700 (PDT) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id BA16A6ACA3; Sat, 20 Oct 2001 10:05:07 +0930 (CST) Date: Sat, 20 Oct 2001 10:05:07 +0930 From: Greg Lehey To: John Baldwin Cc: FreeBSD-arch@FreeBSD.ORG, Nate Williams , Dag-Erling Smorgrav Subject: Re: /usr/src/sys/scripts? Message-ID: <20011020100507.Z60412@wantadilla.lemis.com> References: <20011019101946.E60412@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jhb@FreeBSD.org on Fri, Oct 19, 2001 at 08:42:41AM -0700 Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF 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 On Friday, 19 October 2001 at 8:42:41 -0700, John Baldwin wrote: > > On 19-Oct-01 Greg Lehey wrote: >> On Friday, 19 October 2001 at 1:04:12 +0200, Dag-Erling Smorgrav wrote: >>> Nate Williams writes: >>>> 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. >>> >>> /usr/src/share/misc or /usr/src/sys/conf might be good choices then. >>> /usr/src/sys/scripts sounds like a good idea, I don't like the idea of >>> creating a new directory just for one teeny little file. >> >> No, there are a number of files in there, and I expect more to >> arrive. I'm prepared to discuss the point, though. /sys/scripts has >> the advantage that it's compatible with BSD/OS, which I don't suppose >> we have to over-emphasize. > > One thing I would suggest is to create several .gdbinit.foo files for different > functionality so that one can create a custom .gdbinit simply by including the > desired set of .gdbinit.foo files. Thus making it easier for people who > already have a hacked .gdbinit to use these new functions as well. Yes, that's my plan. > Note that some of the functions may very well end up being very MD > (such as the manual stack traces of other pids by examining the > stack, etc.) so we might want to think about a way of handling MD > scripts vs. MI scripts. I'm open to suggestions. One might really be to put the MD stuff in the /conf file, as DES suggested. 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