From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24634 invoked by alias); 14 Feb 2002 16:52:31 -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 24481 invoked from network); 14 Feb 2002 16:52:27 -0000 Received: from unknown (HELO cerbere.u-strasbg.fr) (130.79.112.7) by sources.redhat.com with SMTP; 14 Feb 2002 16:52:27 -0000 Received: from laocoon (laocoon.u-strasbg.fr [130.79.112.72]) by cerbere.u-strasbg.fr (8.9.3/8.8.7) with ESMTP id RAA27038; Thu, 14 Feb 2002 17:52:20 +0100 Message-Id: <4.2.0.58.20020214173500.01d4ef38@ics.u-strasbg.fr> X-Sender: muller@ics.u-strasbg.fr X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Thu, 14 Feb 2002 08:52:00 -0000 To: Christopher Faylor , gdb-patches@sources.redhat.com From: Pierre Muller Subject: Re: GDBINIT_FILENAME macro in config/i386/xm-cygwin.h In-Reply-To: <20020214163330.GA550@redhat.com> References: <4.2.0.58.20020214170555.0161de98@ics.u-strasbg.fr> <4.2.0.58.20020214170555.0161de98@ics.u-strasbg.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-SW-Source: 2002-02/txt/msg00415.txt.bz2 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... 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. Pierre Muller Institut Charles Sadron 6,rue Boussingault F 67083 STRASBOURG CEDEX (France) mailto:muller@ics.u-strasbg.fr Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99