From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6410 invoked by alias); 14 Feb 2002 16:57:43 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 6352 invoked from network); 14 Feb 2002 16:57:42 -0000 Received: from unknown (HELO lacrosse.corp.redhat.com) (12.107.208.154) by sources.redhat.com with SMTP; 14 Feb 2002 16:57:42 -0000 Received: from cgf.cipe.redhat.com (dhcpd80.meridian.redhat.com [172.16.47.80]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g1EGvfd18018; Thu, 14 Feb 2002 11:57:41 -0500 Received: (from cgf@localhost) by cgf.cipe.redhat.com (8.11.6/8.8.7) id g1EGvlV01117; Thu, 14 Feb 2002 11:57:47 -0500 Date: Thu, 14 Feb 2002 08:57:00 -0000 From: Christopher Faylor To: Pierre Muller Cc: gdb-patches@sources.redhat.com Subject: Re: GDBINIT_FILENAME macro in config/i386/xm-cygwin.h Message-ID: <20020214165747.GC561@redhat.com> Mail-Followup-To: Pierre Muller , gdb-patches@sources.redhat.com References: <4.2.0.58.20020214170555.0161de98@ics.u-strasbg.fr> <4.2.0.58.20020214170555.0161de98@ics.u-strasbg.fr> <4.2.0.58.20020214173500.01d4ef38@ics.u-strasbg.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4.2.0.58.20020214173500.01d4ef38@ics.u-strasbg.fr> User-Agent: Mutt/1.3.23.1i X-SW-Source: 2002-02/txt/msg00416.txt.bz2 On Thu, Feb 14, 2002 at 05:51:48PM +0100, Pierre Muller wrote: >At 17:33 14/02/2002 , Christopher Faylor a ?crit: >>On Thu, Feb 14, 2002 at 05:10:42PM +0100, Pierre Muller wrote: >> > >> > >> >xm-cygwin.h seems to define again GDBINIT_FILENAME to "gdb.ini", >> >thus gdb.ini is searched in home and current dir. >> > >> >But looking into logs, Chistopher removed this in version 1.5, >> >as explained in the log, while Andrew reintroduced it, >> >but without any mention in the log. >> > >> >Isn't that an error in the last commit of Andrew? >> >>I'm sure that it is. I've reverted the reversion. >> >>Thanks for catching this. I'm sure I would have been scratching my >>head about this one for a while before I figured out what was going >>on. >Its simply because I didn't understand the meaning of the warning generated by the >_iniitialize_check_for_gdb_ini file. It said that I should rename gdb.ini to .gdbinit, >but when I did that, the file was not "sourced" anymore... Heh. >Now that its fixed again, I understand the comment. >Just one notice: > this warning is only done for the $HOME/gdb.ini file, >should it be also issued if a gdb.ini exists in the current directory? >Because the GDBINIT_FILENAME is read first in $HOME dir >and after in the starting dir of the GDB executable. Yes, it should check for this, too. I'll look into extending the current behavior. cgf