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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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!news2.google.com!news.glorb.com!feeder.erje.net!newsfeed-fusi2.netcologne.de!news.netcologne.de!newsfeed-hp2.netcologne.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Sat, 27 Jun 2009 22:49:14 +0200 From: Georg Bauhaus Reply-To: rm.tsoh-bauhaus@maps.futureapps.de User-Agent: Thunderbird 2.0.0.22 (X11/20090608) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: addr2line i mingw gcc 4.4.0 References: <86f46e08-56e0-4cc1-89be-93af2e7cad31@q37g2000vbi.googlegroups.com> <550a535e-eef9-4317-ac38-6ae915df6eed@r16g2000vbn.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4a4685ca$0$31336$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 27 Jun 2009 22:49:14 CEST NNTP-Posting-Host: 6df74f06.newsspool4.arcor-online.net X-Trace: DXC=QiaIGcT?AO]cHPTNZh_e7Q4IUK sjw wrote: >> A third alternative is to output numeric traceback from the failing >> program, and then use addr2line (the program) to get the symbolic >> traceback in a separate manual step. > 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.