This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
[Get raw message]
Re: gdb.ini vs. .gdbinit on Cygwin
- To: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Subject: Re: gdb.ini vs. .gdbinit on Cygwin
- From: Fernando Nasser <fnasser at redhat dot com>
- Date: Tue, 13 Nov 2001 11:46:08 -0500
- Cc: gdb <gdb at sources dot redhat dot com>
- Organization: Red Hat Canada
- References: <Pine.SUN.3.91.1011112114839.12693L-100000@is>
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"?
And the Windows Explorer issue, has it gone on the XP version?
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9