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-Thread: a07f3367d7,f5ce49ceb519648b X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!newsfeed.straub-nv.de!news2.arglkargh.de!nuzba.szn.dk!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: addr2line i mingw gcc 4.4.0 Date: Mon, 29 Jun 2009 16:49:34 -0500 Organization: Jacob Sparre Andersen Message-ID: References: <86f46e08-56e0-4cc1-89be-93af2e7cad31@q37g2000vbi.googlegroups.com> <550a535e-eef9-4317-ac38-6ae915df6eed@r16g2000vbn.googlegroups.com> <4a4685ca$0$31336$9b4e6d93@newsspool4.arcor-online.net> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1246312217 12629 69.95.181.76 (29 Jun 2009 21:50:17 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Mon, 29 Jun 2009 21:50:17 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-RFC2646: Format=Flowed; Original Xref: g2news2.google.com comp.lang.ada:6734 Date: 2009-06-29T16:49:34-05:00 List-Id: "Georg Bauhaus" wrote in message news:4a4685ca$0$31336$9b4e6d93@newsspool4.arcor-online.net... ... >> On Darwin, there's a native program atos which does the same as >> addr2line. > > Numbers and addr2line has the additional > advantage of easily switching Ada runtimes > in a testing environment: > ObjectAda for example uses a program named > postmort which reads numeric traces and > turns them into names and source lines. For Janus/Ada, this is an integral part of the generated code; we don't provide addresses (nor is there any way to get addresses ever if you wanted them - stack walking is not reliable if foreign language code is involved, as it usually is). There is a way to completely suppress this code if performance is more important than debugging (as might be the case for some embedded targets). Randy.