[PATCH] Make cygwin use .gdbinit

DJ Delorie dj@redhat.com
Sun Nov 11 09:57:00 GMT 2001


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.

Although DJGPP also could look for .gdbinit first, then gdb.ini.  It
will work on LFN-enabled systems.  But the complaint about gdb.ini
would have to be silenced for DJGPP.

Also, there's no reason not to look for first .gdbinit and then
gdb.ini on *all* platforms, and warn the user only if *both* are
found.

PS: While DJGPP is indeed dos-based, most people don't realize it uses
the DOS simulator within Windows.  So a technically true statement can
still be misleading.  In the long war against MS trying to kill DOS,
we run into this kind of problem all the time.



More information about the Gdb-patches mailing list