From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13614 invoked by alias); 13 Nov 2001 17:05:06 -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 13459 invoked from network); 13 Nov 2001 17:04:49 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sourceware.cygnus.com with SMTP; 13 Nov 2001 17:04:49 -0000 Received: from cygbert.vinschen.de (cse.cygnus.com [205.180.230.236]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id JAA20249 for ; Tue, 13 Nov 2001 09:04:37 -0800 (PST) Received: (from corinna@localhost) by cygbert.vinschen.de (8.9.3/8.9.3/Linux sendmail 8.9.3) id SAA22669 for gdb@sources.redhat.com; Tue, 13 Nov 2001 18:04:34 +0100 Date: Thu, 01 Nov 2001 15:47:00 -0000 From: Corinna Vinschen To: gdb Subject: Re: gdb.ini vs. .gdbinit on Cygwin Message-ID: <20011113180434.Y2618@cygbert.vinschen.de> Reply-To: gdb Mail-Followup-To: gdb References: <3BF14E50.7E55FC0C@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3BF14E50.7E55FC0C@redhat.com>; from fnasser@redhat.com on Tue, Nov 13, 2001 at 11:46:08AM -0500 X-SW-Source: 2001-11/txt/msg00027.txt.bz2 On Tue, Nov 13, 2001 at 11:46:08AM -0500, Fernando Nasser wrote: > Eli Zaretskii wrote: > > > > On Sun, 11 Nov 2001, Corinna Vinschen wrote: > > > > > is there still a reason why the .gdbinit file is called gdb.ini > > > on Cygwin? > > > > You might consider the fact that the Windows Explorer still disallows > > creation of files with a leading dot. > > > > I don't know if this is important for Cygwin users, though. > > > > Also, if you remove gdb.ini, I'd suggest to have a transitional period > > where gdb.ini is still supported. Otherwise, users might get mad at > > you for breaking their setup. > > > > In any case, please change the docs accordingly (type "i gdb.ini RET" > > in an Info reader, to find where it is mentioned). > > > I agree with Eli. > > My first thought was: look for ".gdbinit", if not found > look for "gdb.ini" after issuing a warning that "gdb.ini" should be > renamed to ".gdbinit" and that "gdb.ini" will not be supported in future > versions. > > 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"? We're talking about the Cygwin version. A native DOS/Windows version can keep gdb.ini. It doesn't matter. > And the Windows Explorer issue, has it gone on the XP version? Of course not. However, we should use .gdbinit the same way as for any other host on Cygwin. There's no reason to treat the Cygwin GDB special in that case. If you think it's really necessary, we can keep supporting gdb.ini as well but a Cygwin GDB doesn't have to take care for Explorer disabilities, IMO. As a resort we could begin to support an environment variable GDBINIT or similar which contains the name/path of the GDB init file. That would have the advantage to be mostly host independent. Corinna -- Corinna Vinschen Cygwin Developer Red Hat, Inc. mailto:vinschen@redhat.com