From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23666 invoked by alias); 27 Apr 2009 10:25:33 -0000 Received: (qmail 23649 invoked by uid 22791); 27 Apr 2009 10:25:31 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (212.99.106.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 27 Apr 2009 10:25:26 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id DC95E290021; Mon, 27 Apr 2009 12:25:23 +0200 (CEST) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wNMRRWi25zgF; Mon, 27 Apr 2009 12:25:23 +0200 (CEST) Received: from province.act-europe.fr (province.act-europe.fr [10.10.0.214]) by mel.act-europe.fr (Postfix) with ESMTP id 3587029006F; Mon, 27 Apr 2009 12:25:23 +0200 (CEST) Received: by province.act-europe.fr (Postfix, from userid 560) id 2A21B1661BF; Mon, 27 Apr 2009 12:25:23 +0200 (CEST) Date: Mon, 27 Apr 2009 10:25:00 -0000 From: Jerome Guitton To: Joel Brobecker Cc: Eli Zaretskii , Daniel Jacobowitz , gdb-patches@sourceware.org Subject: Re: Setting up GDB init files broken in DJGPP Message-ID: <20090427102523.GO37172@adacore.com> References: <83ljq3m999.fsf@gnu.org> <20090417174113.GA4851@adacore.com> <20090422193812.GD22514@adacore.com> <20090422202214.GA6065@adacore.com> <20090422202603.GE22514@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090422202603.GE22514@adacore.com> User-Agent: Mutt/1.5.17 (2007-11-01) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-04/txt/msg00731.txt.bz2 Joel Brobecker (brobecker@adacore.com): > > Look out, this should be done before the printing of the help message. > > The help message tells the user which gdbinit files will be sourced. > > Ah - I understand, now. Thanks for catching this. Your patch is OK > to commit. Now commited; thanks. About the help message, I was actually wrong: get_init_files could be moved after the handling of --help. print_gdb_help calls get_init_files as well, and this function would compute gdbinit locations if they have not been computed yet. So if you feel that the call to get_init_files should be moved past the interpreter initialization, you can go ahead.