From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20917 invoked by alias); 14 Nov 2001 00:57:21 -0000 Mailing-List: contact gdb-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 20807 invoked from network); 14 Nov 2001 00:57:16 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sourceware.cygnus.com with SMTP; 14 Nov 2001 00:57:16 -0000 Received: from loony.cygnus.com (loony.cygnus.com [205.180.230.181]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id QAA07120 for ; Tue, 13 Nov 2001 16:57:15 -0800 (PST) Received: (from cgf@localhost) by loony.cygnus.com (8.11.6/8.8.7) id fAE0vEQ01185 for gdb@sources.redhat.com; Tue, 13 Nov 2001 19:57:14 -0500 Date: Fri, 02 Nov 2001 10:45:00 -0000 From: Christopher Faylor To: gdb@sources.redhat.com Subject: Re: gdb.ini vs. .gdbinit on cygwin Message-ID: <20011114005714.GA1114@redhat.com> Mail-Followup-To: gdb@sources.redhat.com References: <3BF14E50.7E55FC0C@redhat.com> <8361-Tue13Nov2001194155+0200-eliz@is.elta.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8361-Tue13Nov2001194155+0200-eliz@is.elta.co.il> User-Agent: Mutt/1.3.23.1i X-SW-Source: 2001-11/txt/msg00039.txt.bz2 On Tue, Nov 13, 2001 at 07:41:56PM +0200, Eli Zaretskii wrote: >> Date: Tue, 13 Nov 2001 11:46:08 -0500 >> From: Fernando Nasser >> >> But then I remembered that we may have native Windows GDB (i.e., not >> Cygwin, >> but Win32 GDB programs). Can those also look for ".gdbinit"? > >There's no problem whatsoever for native Windows programs, including a >Win32 GDB port, to access files with a leading dots in their names. >The fact that the Explorer disallows is simply a terrible misfeature >(if not a bug), but it has no technical reasons behind it. > >So a Win32 port of GDB could easily use .gdbinit as well. Right. gdb.ini was a bad choice for a name from the beginning. Apparently whomeever did the original cygwin port was a little confused about file names under Windows NT/95. FWIW, I don't like the idea of modifying gdb to search for multiple init files. It seems rather intrusive a change to correct one host's brain dead behavior. If we decide to do this, then I don't think that it will be a big deal for users to figure out the new name. It's a momentary confusion, easily rectified with a 'mv'. cgf