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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,81cf52699486abe7 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: GNAT listing file default names (was: Ada95 Strengths/Weaknesses) Date: 1999/09/30 Message-ID: <7supjj$9im$1@nnrp1.deja.com>#1/1 X-Deja-AN: 530986989 References: <37EED7B8.245C0054@yukyonline.co.yuky> <7smp30$9aa1@news.cis.okstate.edu> <7sp8m9$a6e$1@nnrp1.deja.com> <1999Sep28.074901.1@eisner> <7srmd7$2dr$1@nnrp1.deja.com> <1999Sep29.074624.1@eisner> <7stris$k6t$1@nnrp1.deja.com> <1999Sep29.180007.1@eisner> X-Http-Proxy: 1.0 x34.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Thu Sep 30 04:40:21 1999 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-09-30T00:00:00+00:00 List-Id: In article <1999Sep29.180007.1@eisner>, Kilgallen@eisner.decus.org.nospam wrote: > I interpret this as saying that you dislike the VMS implementation > of PIPE. Let me know if there is something more to it, but I (we) > digress. No, it is just that there is nothing as convenient as the > notation of Unix for redirection in VMS ... > > In GNAT, to get a "listing" file, we simply do > > > > -gnatl >mydir.listings > > > > which is pretty straightforward ... > > > Trivial commands can put this in one file, many files etc etc, > > I take it then that this is postprocessing, similar to what I > read described as the Gnat Chop utility. Well the basic listing command -gnatl >mydir-listings is entirely analogous to the special purpose qualifier you quoted, and no there is no post processing. If you want to put the listings all in one file, you would do -gnatl >>listings or some such > > > A GNAT generated assembly file with embedded line number > > information will indeed give you the information you need, > > or alternatively you can use a tool like objdump to get > > the information you need. > > My presumption would be that the former method would include the > line-numbered source (under some combination of qualifiers) but > the objdump method would not. Is that correct ? Actually it is the other way round, the assembly listing is the file passed to the assembler, and does not contain source. The objdump listing can optionally (use --source if I remember right) intersperse the line numbered source in the listing. Sent via Deja.com http://www.deja.com/ Before you buy.