Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: mec.gnu@mindspring.com (Michael Elizabeth Chastain)
To: brobecker@gnat.com, eliz@gnu.org
Cc: ac131313@redhat.com, gdb@sources.redhat.com
Subject: Re: A.R. Index for GDB version 6.1.91_20040719
Date: Mon, 19 Jul 2004 21:04:00 -0000	[thread overview]
Message-ID: <20040719210150.DC6614B104@berman.michael-chastain.com> (raw)

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


             reply	other threads:[~2004-07-19 21:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-19 21:04 Michael Elizabeth Chastain [this message]
2004-07-19 21:12 ` Daniel Jacobowitz
2004-07-19 21:19 ` Joel Brobecker
  -- strict thread matches above, loose matches on Subject: below --
2004-07-19 22:16 Michael Elizabeth Chastain
2004-07-20  0:30 ` Daniel Jacobowitz
2004-07-20 10:27   ` Eli Zaretskii
2004-07-20  4:33 ` Eli Zaretskii
2004-07-19 22:13 Michael Elizabeth Chastain
2004-07-20  4:27 ` Eli Zaretskii
2004-07-19  3:25 Andrew Cagney
2004-07-19  3:54 ` Eli Zaretskii
2004-07-19 20:01 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040719210150.DC6614B104@berman.michael-chastain.com \
    --to=mec.gnu@mindspring.com \
    --cc=ac131313@redhat.com \
    --cc=brobecker@gnat.com \
    --cc=eliz@gnu.org \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox