From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23483 invoked by alias); 19 Jul 2004 21:01:41 -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 23474 invoked from network); 19 Jul 2004 21:01:40 -0000 Received: from unknown (HELO granger.mail.mindspring.net) (207.69.200.148) by sourceware.org with SMTP; 19 Jul 2004 21:01:40 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by granger.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1BmfGT-0001fN-00; Mon, 19 Jul 2004 17:01:37 -0400 Received: by berman.michael-chastain.com (Postfix, from userid 502) id DC6614B104; Mon, 19 Jul 2004 17:01:50 -0400 (EDT) To: brobecker@gnat.com, eliz@gnu.org Subject: Re: A.R. Index for GDB version 6.1.91_20040719 Cc: ac131313@redhat.com, gdb@sources.redhat.com Message-Id: <20040719210150.DC6614B104@berman.michael-chastain.com> Date: Mon, 19 Jul 2004 21:04:00 -0000 From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) X-SW-Source: 2004-07/txt/msg00249.txt.bz2 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. Michael C