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,fea50f781bb229dc X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Symbolic tracebacks on Debian References: <85f51aeb-cac9-4591-921a-a7f50c8ef142@a21g2000yqn.googlegroups.com> <1pup1z7a4f1pq$.of30sejrqe4m.dlg@40tude.net> <87hbmae33k.fsf@ludovic-brenta.org> <85j595F1lqU1@mid.individual.net> <87sk5navk6.fsf_-_@ludovic-brenta.org> <82bpc8s17m.fsf@stephe-leake.org> Date: Sun, 23 May 2010 09:28:32 -0400 Message-ID: <82eih2rblr.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) Cancel-Lock: sha1:+wHvpeWVaQ7RXXh4qPK8p/VdarE= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 70f7f4bf92e06e197caa704332 Xref: g2news2.google.com comp.lang.ada:11898 Date: 2010-05-23T09:28:32-04:00 List-Id: Simon Wright writes: > "(see below)" writes: > >> On 21/05/2010 09:52, in article 82bpc8s17m.fsf@stephe-leake.org, "Stephen >> Leake" wrote: > >>> Because symbolic traceback are not supported on _all_ gnat platforms, I >>> don't use them on _any_ - that way my code is portable. So I did not >>> notice this problem. >>> >>> I dump the stack trace as hex addresses, then later run addr2line >>> manually if I want the symbolic trace. >> >> Can you say exactly what the steps are to do that? >> I've never understood it + therefore never used it. > > You need to call > > GNAT.Exception_Traces.Trace_On > (Kind => GNAT.Exception_Traces.Unhandled_Raise); I never do this. > from somewhere in your program and run gnatmake with -bargs -E. I only do this if I want symbolic traces from the running program, which I don't anymore. -- -- Stephe