From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27592 invoked by alias); 14 Jan 2009 13:37:22 -0000 Received: (qmail 27580 invoked by uid 22791); 14 Jan 2009 13:37:17 -0000 X-SWARE-Spam-Status: No, hits=-2.5 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, 14 Jan 2009 13:36:42 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 4C96129001A; Wed, 14 Jan 2009 14:36:39 +0100 (CET) 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 0Lhuj8NY255G; Wed, 14 Jan 2009 14:36:38 +0100 (CET) Received: from province.act-europe.fr (province.act-europe.fr [10.10.0.214]) by mel.act-europe.fr (Postfix) with ESMTP id 773F7290003; Wed, 14 Jan 2009 14:36:38 +0100 (CET) Received: by province.act-europe.fr (Postfix, from userid 560) id 5778F165C08; Wed, 14 Jan 2009 14:36:38 +0100 (CET) Date: Wed, 14 Jan 2009 13:37:00 -0000 From: Jerome Guitton To: Michael Snyder Cc: "gdb@sourceware.org" Subject: Re: global, target-specific, init files Message-ID: <20090114133638.GL84382@adacore.com> References: <20081214124549.GA25544@adacore.com> <20081214183532.GB28806@caradoc.them.org> <20081215115830.GI34644@adacore.com> <20081215154216.GA9832@caradoc.them.org> <20081215164545.GK34644@adacore.com> <494AA848.5050105@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <494AA848.5050105@vmware.com> User-Agent: Mutt/1.5.17 (2007-11-01) Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-01/txt/msg00066.txt.bz2 Michael Snyder (msnyder@vmware.com): > Jerome Guitton wrote: >> Daniel Jacobowitz (drow@false.org): >> >>> Well, we took a full path. So you'd give it >>> $prefix/etc/$target-gdbinit in your case. The path automatically >>> relocates along with an installed GDB. Come to think of it, >>> I'm not sure entirely how to handle relocation if you want to source >>> another file in the same directory, but there's probably a logical >>> extension of the current mechanism for that. >>> >>> Does that clarify? >> >> It does; I understand now. And I like the way you fixed the problem, >> much simpler than my proposal. I have tested it and it works like a >> charm. Would it make sense to have this merged into the FSF tree? >> > > FWIW, I think it would make sense... OK, great. Daniel, if you are OK, I can take care of posting the patch to gdb-patches and commit it if it is approved.