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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC 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: kilgallen@eisner.decus.org (Larry Kilgallen) Subject: Re: GNAT listing file default names (was: Ada95 Strengths/Weaknesses) Date: 1999/09/29 Message-ID: <1999Sep29.180007.1@eisner>#1/1 X-Deja-AN: 530893900 X-Nntp-Posting-Host: eisner.decus.org 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> X-Trace: news.decus.org 938642413 9327 KILGALLEN [216.44.122.34] Organization: LJK Software Reply-To: Kilgallen@eisner.decus.org.nospam Newsgroups: comp.lang.ada Date: 1999-09-29T00:00:00+00:00 List-Id: In article <7stris$k6t$1@nnrp1.deja.com>, Robert Dewar writes: > In article <1999Sep29.074624.1@eisner>, > Kilgallen@eisner.decus.org.nospam wrote: >> To me /LISTING=[MYDIR.LISTINGS] doesn't seem complex, but we > digress. > > You miss the point, the above VMS quote is NOT about > redirection, but about using a specific parameter. What I > was saying was that in Unix and DOS-like systems, redirection > is so easy that one tends to use it extensively. Since general > redirection is not nearly so easy in VMS, it is less used. 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. > 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. > 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 ? Larry Kilgallen