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!news4.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!69.16.185.16.MISMATCH!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> <82eih2rblr.fsf@stephe-leake.org> Date: Mon, 24 May 2010 05:03:09 -0400 Message-ID: <82k4qtr7si.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) Cancel-Lock: sha1:R3ef+/2A9wZmj6xE99KcLbLN/MI= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 798084bfa4161e197caa703691 Xref: g2news2.google.com comp.lang.ada:11914 Date: 2010-05-24T05:03:09-04:00 List-Id: Stephen Leake writes: > 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. Sorry, I was mistaken; -bars -E is required for numeric tracebacks. It's been too long since I looked at the contents of my standard gpr file. -- -- Stephe