From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27204 invoked by alias); 19 Jul 2004 21:04:30 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 27193 invoked from network); 19 Jul 2004 21:04:29 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 19 Jul 2004 21:04:29 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1BmfIM-0003Uu-Qb; Mon, 19 Jul 2004 17:03:34 -0400 Date: Mon, 19 Jul 2004 21:12:00 -0000 From: Daniel Jacobowitz To: Michael Elizabeth Chastain Cc: brobecker@gnat.com, eliz@gnu.org, ac131313@redhat.com, gdb@sources.redhat.com Subject: Re: A.R. Index for GDB version 6.1.91_20040719 Message-ID: <20040719210334.GA13419@nevyn.them.org> Mail-Followup-To: Michael Elizabeth Chastain , brobecker@gnat.com, eliz@gnu.org, ac131313@redhat.com, gdb@sources.redhat.com References: <20040719210150.DC6614B104@berman.michael-chastain.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040719210150.DC6614B104@berman.michael-chastain.com> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-07/txt/msg00250.txt.bz2 On Mon, Jul 19, 2004 at 05:01:50PM -0400, Michael Chastain wrote: > eliz> I fixed the conflicts in bfd and gdb/sim. As for > eliz> gdb/testsuite/gdb.ada/gnat_ada.gpr.in, I wonder what is that file > eliz> needed for, as I cannot see any reference to it except in Makefile.in > eliz> in the same directory, where the file is removed in the clean: target. > eliz> Can we simply remove this file, instead of remapping it to something > eliz> that doesn't have 2 dots in the name? > > This file is actually used. > > Googling on the filename turns up an explanation: > > http://sources.redhat.com/ml/gdb-patches/2004-02/msg00783.html > > The actual usage point is in the gnatmake command. > Here's an excerpt from gdb.log: > > Executing on host: gnatmake null_record.adb -P/tmp/migbat-testgdb-VZzpSUK2/test/gdb.ada/gnat_ada -gdwarf-2 -g2 -lm -o /tmp/migbat-testgdb-VZzpSUK2/test/gdb.ada/null_record (timeout = 300) > > The "-P/blah/gdb.ada/gnat_ada" switch reads the file gnat_ada.gpr > from the build directory. The "gpr" stands for "gnat project". > > $BUILD/gnat_ada.gpr.in is made from $SOURCE/gnat_ada.gpr by > the usual autoconf magic. Search for "gnat_ada.gpr" in the > gdb/testsuite/configure. > > And the name has to be foo.gpr.in with the ".gpr" for the > "gnatmake -P" to work and the ".in" for the autoconfigury. > > I'm pretty clueless about Ada but I think that's what's going on; > corrections welcomed. If that's a correct analysis then it is not hard to rename the file; autoconf is flexible in this regard. See config.h and config.in in gdb/. -- Daniel Jacobowitz