From mboxrd@z Thu Jan 1 00:00:00 1970 From: DJ Delorie To: cgf@redhat.com Cc: eliz@is.elta.co.il, gdb-patches@sources.redhat.com Subject: Re: [PATCH] Make cygwin use .gdbinit Date: Sun, 25 Nov 2001 20:09:00 -0000 Message-ID: <200111260404.fAQ44Qx12366@greed.delorie.com> References: <20011124182316.GA24305@redhat.com> <200111250901.LAA03863@is.elta.co.il> <20011125185807.GB2124@redhat.com> <5137-Sun25Nov2001211400+0200-eliz@is.elta.co.il> <20011125193544.GA2355@redhat.com> X-SW-Source: 2001-11/msg00434.html Message-ID: <20011125200900.wPclcCRkTTPnnMfgd-d4WebbHz6APqp0r1N22qWmh9M@z> 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.