public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Re: A.R. Index for GDB version 6.1.91_20040719
@ 2004-07-19 22:16 Michael Elizabeth Chastain
  2004-07-20  0:30 ` Daniel Jacobowitz
  2004-07-20  4:33 ` Eli Zaretskii
  0 siblings, 2 replies; 12+ messages in thread
From: Michael Elizabeth Chastain @ 2004-07-19 22:16 UTC (permalink / raw)
  To: brobecker, mec.gnu; +Cc: ac131313, eliz, gdb

joel> Back to Eli's problem: We need to have a name such that, after
joel> generation from configure, we end up with "gnat_ada.gpr" (fortunately,
joel> gnat_ada.gpr fits the 8+3 profile). Is that possible?

Yeah, I'm testing a patch right now.

gnat_ada.gpr.in is the default name, but AC_OUTPUT has a syntax for
specifying an explicit name, so I'm just using that.  The new name will
be gnat_ada.gin if that's okay with daniel.

(At first I wanted to use gnat_ada.gpr_in, but then I thought:
what if someone configures in the source directory, and what if
configuration reaches down into testsuite/ even though testsuite/
does not actually run on msdos).

Also my understanding is: if the ms-dos port actually uses the file, the
name has to fit in 8.3.  But if the ms-dos port does not use the file,
the name just has to be 8.3 unique with truncation, plus some other
requirements like "no more than one dot".

The test suite is not used on ms-dos so null_record.adb and
null_record.exp are fine.  They get unpacked as null_rec.adb and
null_rec.exp, so they wouldn't actually work, but they survive the
process of unpacking the tarball.

Michael C

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: A.R. Index for GDB version 6.1.91_20040719
@ 2004-07-19 22:13 Michael Elizabeth Chastain
  2004-07-20  4:27 ` Eli Zaretskii
  0 siblings, 1 reply; 12+ messages in thread
From: Michael Elizabeth Chastain @ 2004-07-19 22:13 UTC (permalink / raw)
  To: drow, mec.gnu; +Cc: ac131313, brobecker, eliz, gdb

drow> If that's a correct analysis then it is not hard to rename the file;
drow> autoconf is flexible in this regard.  See config.h and config.in in gdb/.

I see.  I could do:

  AC_OUTPUT([... gdb.ada/gnat_ada.gpr:gdb.ada/gnat_ada.gpr_in ...])

The autoconf manual even says: "Doing this allows you to keep your
filenames acceptable to MS-DOS, or to prepend and/or append
boilerplate to the file."

Looks good to me.  I'll pursue this.

Michael C

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: A.R. Index for GDB version 6.1.91_20040719
@ 2004-07-19 21:04 Michael Elizabeth Chastain
  2004-07-19 21:12 ` Daniel Jacobowitz
  2004-07-19 21:19 ` Joel Brobecker
  0 siblings, 2 replies; 12+ messages in thread
From: Michael Elizabeth Chastain @ 2004-07-19 21:04 UTC (permalink / raw)
  To: brobecker, eliz; +Cc: ac131313, gdb

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

^ permalink raw reply	[flat|nested] 12+ messages in thread
* A.R. Index for GDB version 6.1.91_20040719
@ 2004-07-19  3:25 Andrew Cagney
  2004-07-19  3:54 ` Eli Zaretskii
  2004-07-19 20:01 ` Eli Zaretskii
  0 siblings, 2 replies; 12+ messages in thread
From: Andrew Cagney @ 2004-07-19  3:25 UTC (permalink / raw)
  To: Eli Zaretskii, gdb

Eli, fyi, there appear to be a number of 8.3 problems in the 6.2 
pre-release.
<http://sources.redhat.com/gdb/ari/>
Andrew

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2004-07-20  4:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-19 22:16 A.R. Index for GDB version 6.1.91_20040719 Michael Elizabeth Chastain
2004-07-20  0:30 ` Daniel Jacobowitz
2004-07-20 10:27   ` Eli Zaretskii
2004-07-20  4:33 ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2004-07-19 22:13 Michael Elizabeth Chastain
2004-07-20  4:27 ` Eli Zaretskii
2004-07-19 21:04 Michael Elizabeth Chastain
2004-07-19 21:12 ` Daniel Jacobowitz
2004-07-19 21:19 ` Joel Brobecker
2004-07-19  3:25 Andrew Cagney
2004-07-19  3:54 ` Eli Zaretskii
2004-07-19 20:01 ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).