From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20344 invoked by alias); 26 Nov 2001 18:32:35 -0000 Mailing-List: contact gdb-patches-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 20314 invoked from network); 26 Nov 2001 18:32:34 -0000 Received: from unknown (HELO lacrosse.corp.redhat.com) (207.175.42.154) by hostedprojects.ges.redhat.com with SMTP; 26 Nov 2001 18:32:34 -0000 Received: from trixie.bosbc.com (cgf.cipe.redhat.com [10.0.1.172]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id fAQIWXq16300; Mon, 26 Nov 2001 13:32:33 -0500 Received: (from cgf@localhost) by trixie.bosbc.com (8.11.6/8.8.7) id fAQIWSn04967; Mon, 26 Nov 2001 13:32:28 -0500 Date: Mon, 12 Nov 2001 13:13:00 -0000 From: Christopher Faylor To: Eli Zaretskii Cc: dj@redhat.com, gdb-patches@sources.redhat.com Subject: Re: [PATCH] Make cygwin use .gdbinit Message-ID: <20011126183228.GA4788@redhat.com> Mail-Followup-To: Eli Zaretskii , dj@redhat.com, gdb-patches@sources.redhat.com References: <20011124182316.GA24305@redhat.com> <200111250901.LAA03863@is.elta.co.il> <20011125185807.GB2124@redhat.com> <5137-Sun25Nov2001211400+0200-eliz@is.elta.co.il> <20011125193544.GA2355@redhat.com> <200111260404.fAQ44Qx12366@greed.delorie.com> <200111260755.JAA10760@is.elta.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200111260755.JAA10760@is.elta.co.il> User-Agent: Mutt/1.3.23.1i X-SW-Source: 2001-11/txt/msg00233.txt.bz2 Message-ID: <20011112131300.OfUdcpUrY2N73prHx2w-XXcuQk_vh3HW3vSYADlw74Y@z> On Mon, Nov 26, 2001 at 09:55:17AM +0200, Eli Zaretskii wrote: >> Date: Sun, 25 Nov 2001 23:04:26 -0500 >> From: DJ Delorie >> >> I suggest something like: >> >> These files are normally named @file{.gdbinit} although filesystem >> limitations require that they be named @file{gdb.ini} on some >> platforms, such as DJGPP. > >My suggestion is similar: > > When you start @value{GDBN}, it automatically executes commands from its > @dfn{init files}, normally called @file{.gdbinit}@footnote{The DJGPP > port of @value{GDBN} uses the name @file{gdb.ini} instead, due to the > limitations of file names imposed by DOS filesystems.}. > >This banishes the difference into a footnote, where it is less >prominent, and also avoids the pitfall of saying that gdb.ini is only >used on DOS. That looks right to me. How about the other section of the patch, though: @cindex @code{--nx} @cindex @code{-n} Do not execute commands found in any initialization files (normally -called @file{.gdbinit}, or @file{gdb.ini} on PCs). Normally, +called @file{.gdbinit} or @file{gdb.ini} under MS-DOS). Normally, @value{GDBN} executes the commands in these files after all the command options and arguments have been processed. @xref{Command Files,,Command files}. How about just removing the parenthetical expression entirely? It was never right to begin with. What's a "PC"? Isn't my linux system running on a PC? Since the next sentence references the section which discusses initialization files can we just delete this entirely? cgf