From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19930 invoked by alias); 22 Apr 2009 20:22:29 -0000 Received: (qmail 19914 invoked by uid 22791); 22 Apr 2009 20:22:28 -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; Wed, 22 Apr 2009 20:22:19 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 25AE4290111; Wed, 22 Apr 2009 22:22:16 +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 q8u9a6cDQ0wF; Wed, 22 Apr 2009 22:22:15 +0200 (CEST) Received: from cardhu.act-europe.fr (cardhu.act-europe.fr [10.10.0.168]) by mel.act-europe.fr (Postfix) with ESMTP id 85D0729001D; Wed, 22 Apr 2009 22:22:14 +0200 (CEST) Received: by cardhu.act-europe.fr (Postfix, from userid 560) id 722981D0; Wed, 22 Apr 2009 22:22:14 +0200 (CEST) Date: Wed, 22 Apr 2009 20:22: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: <20090422202214.GA6065@adacore.com> References: <83ljq3m999.fsf@gnu.org> <20090417174113.GA4851@adacore.com> <20090422193812.GD22514@adacore.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090422193812.GD22514@adacore.com> User-Agent: Mutt/1.4.1i 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/msg00612.txt.bz2 Joel Brobecker (brobecker@adacore.com): > > 2009-04-17 Jerome Guitton > > > > * main.c (captured_main): Move gdbinit lookups after gdb_init. > > This looks fine, but I propose we move this call further down, past > the blocks that do an early exist if --version or --help is specified, > as well as past the interpreter initialization. If those fail, no point > in spending time computing these files. That also corresponds better > to what used to be done before. 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.