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 X-Google-Thread: 103376,acceabc008a5253c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-17 09:15:29 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!cyclone.swbell.net!bos-service1.ext.raytheon.com!dfw-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3DFF5B9E.73845A53@raytheon.com> From: Mark Johnson X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Traceback on Gnat/Linux References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: Tue, 17 Dec 2002 11:15:10 -0600 NNTP-Posting-Host: 192.27.48.39 X-Complaints-To: news@ext.ray.com X-Trace: dfw-service2.ext.raytheon.com 1040145324 192.27.48.39 (Tue, 17 Dec 2002 11:15:24 CST) NNTP-Posting-Date: Tue, 17 Dec 2002 11:15:24 CST Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ada:31970 Date: 2002-12-17T11:15:10-06:00 List-Id: "Joachim Schr�er" wrote: > > Hello, > > we are porting code from Windows to Linux (Suse 7.3), > [snip get symbolic traceback on Windows, not on Linux] > Whats wrong? > Having just read the code on Linux a few minutes ago (to see what it did for our application) you can see comments that suggest you pass the address values to addr2line (which should be installed on your system). I can't be sure, but it appears that since the conversion routine is readily available - they decided to implement it a more simple way on Linux (and other Unix systems?) than on Windows. There is also an example in the gnat user's guide (search for addr2line) that shows how to do this with and without symbolic traceback (but requires you to link w/ the addr2line library). There are also references to the specific files in /usr/gnat/... which have the source code responsible. Good luck. --Mark