From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cd24ffa36ebe3ef6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-03-03 14:33:35 PST Path: nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!paladin.american.edu!zombie.ncsc.mil!news.mathworks.com!news.alpha.net!uwm.edu!vixen.cso.uiuc.edu!news.ksu.ksu.edu!lazrus.cca.rockwell.com!cacd.rockwell.com!usenet From: rswhite@cacd.rockwell.com (Robert S. White) Newsgroups: comp.lang.ada Subject: Re: debugging GNAT programs Date: 3 Mar 1995 22:33:35 GMT Organization: Rockwell International, CACD Message-ID: <3j85fv$31s@newssvr.cacd.rockwell.com> References: <1995Mar2.095243.14051@sei.cmu.edu> NNTP-Posting-Host: pc110437.cacd.rockwell.com Mime-Version: 1.0 X-Newsreader: WinVN 0.93.11 Date: 1995-03-03T22:33:35+00:00 List-Id: In article , 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.