comp.lang.ada
 help / color / mirror / Atom feed
From: rswhite@cacd.rockwell.com (Robert S. White)
Subject: Re: debugging GNAT programs
Date: 3 Mar 1995 22:33:35 GMT
Date: 1995-03-03T22:33:35+00:00	[thread overview]
Message-ID: <3j85fv$31s@newssvr.cacd.rockwell.com> (raw)
In-Reply-To: D4u3Js.G20@thomsoft.com

In article <D4u3Js.G20@thomsoft.com>, kst@thomsoft.com says...
>In <1995Mar2.095243.14051@sei.cmu.edu> marc@sei.cmu.edu (Marc Graham) writes:
.
>> raised. (Anyway, gdb debugs the generated c code, not the Ada
>> code. Which makes it pretty useless.)
>
>First of all, there is no generated C code.  The name GNAT (GNU Ada
>Translator) is perhaps slightly misleading, but it's a true compiler
>that happens to share a backend with several other GNU compilers.
.
But what is the "b_hello.c" file generated by gnatbl from the hello.ali file
which was generated from the hello.adb (from the GNAT examples) file by gcc?
It sure looks like C code.  Granted the GNU compilers use an intermediate
code which is not C for the optimization pass.  But it sure looks like the 
current GNAT 2.03a for Win NT uses (or generates as an incidental) C source
code.  This step could be enventually skipped IMHO.  I don't have the files
in front of me right now (they are on my home machine), but this is what I
remember from my new experience in the past week with GNAT.




  reply	other threads:[~1995-03-03 22:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-03-02 14:52 debugging GNAT programs Marc Graham
1995-03-02 16:52 ` Robert A Duff
1995-03-03  2:47   ` Pug 156
1995-03-04  4:26     ` Tom Griest
1995-03-05 19:20       ` Bernard Banner
1995-03-06 19:34         ` Tom Griest
1995-03-02 22:23 ` Keith Thompson
1995-03-03 22:33   ` Robert S. White [this message]
1995-03-05 15:42     ` Robert Dewar
1995-03-05 15:52     ` Robert Dewar
1995-03-06  0:38       ` kkrieser
1995-03-06 15:14       ` Robert S. White
1995-03-03  4:57 ` Vladimir Vukicevic
1995-03-04 14:07   ` Cyrille Comar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox