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,90a801062c5b0e67 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-17 11:28:18 PST Path: supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Problem using Gnat.Traceback.Symbolic.Symbolic_Traceback() Date: 17 Jan 2001 14:20:49 -0500 Organization: NASA Goddard Space Flight Center Message-ID: References: <3a63a426.2807354@news.iwvisp.com> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 979760013 9857 128.183.220.71 (17 Jan 2001 19:33:33 GMT) X-Complaints-To: dscoggin@cne-odin.gsfc.nasa.gov NNTP-Posting-Date: 17 Jan 2001 19:33:33 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.6 Xref: supernews.google.com comp.lang.ada:4114 Date: 2001-01-17T19:33:33+00:00 List-Id: rbrogers@iwvisp.com (Bob Rogers) writes: > > > However, gnat.traceback.symbolic.Symbolic_Traceback(Traceback_Array)) > fails with the console message: > > (null): C:\PROG\WORK\MYPROG.EXE.exe: No such file or directory > > Comments in function Symbolic_Traceback (g-trasym.adb) say that the > function actually executes the Ada-aware version of addr2line for each > address in the traceback array. The message above implies that an > extra .exe is being appended to the program name before it is passed > to addr2line. The Win32 version of the gcc tools always append a ".exe" to your supplied executable name. Also, you seem to be using upper case for your file names. I've used Symbolic_Traceback successfully on WinNT and Win95. I don't specify an executable name to gnatmake (just use the default), and I always use lower case for all file names. You might try those two things to see if it helps. -- -- Stephe