From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2517 invoked by alias); 26 Nov 2001 04:09:22 -0000 Mailing-List: contact gdb-patches-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 2470 invoked from network); 26 Nov 2001 04:09:17 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sourceware.cygnus.com with SMTP; 26 Nov 2001 04:09:17 -0000 Received: from greed.delorie.com (cse.cygnus.com [205.180.230.236]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id UAA22015; Sun, 25 Nov 2001 20:06:27 -0800 (PST) Received: (from dj@localhost) by greed.delorie.com (8.11.6/8.11.6) id fAQ44Qx12366; Sun, 25 Nov 2001 23:04:26 -0500 Date: Sun, 11 Nov 2001 09:57:00 -0000 Message-Id: <200111260404.fAQ44Qx12366@greed.delorie.com> From: DJ Delorie To: cgf@redhat.com CC: eliz@is.elta.co.il, gdb-patches@sources.redhat.com In-reply-to: <20011125193544.GA2355@redhat.com> (message from Christopher Faylor on Sun, 25 Nov 2001 14:35:44 -0500) Subject: Re: [PATCH] Make cygwin use .gdbinit 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/txt/msg00219.txt.bz2 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. 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.