This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gdb.ini vs. .gdbinit on cygwin

[Get raw message]
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 <fnasser@redhat.com>
>> 
>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]