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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.107.135.140 with SMTP id r12mr36111787ioi.19.1469020149520; Wed, 20 Jul 2016 06:09:09 -0700 (PDT) X-Received: by 10.157.10.1 with SMTP id 1mr2243618otg.12.1469020149494; Wed, 20 Jul 2016 06:09:09 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!f6no2934712ith.0!news-out.google.com!d130ni8859ith.0!nntp.google.com!f6no2934703ith.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 20 Jul 2016 06:09:09 -0700 (PDT) In-Reply-To: <3e02dbb0-69e3-429b-b8c5-d4762dbeb187@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=70.178.28.115; posting-account=Zsf4jwoAAADEqwCydv835KU9-S3h_Y26 NNTP-Posting-Host: 70.178.28.115 References: <3e02dbb0-69e3-429b-b8c5-d4762dbeb187@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <823208a3-49c3-48ca-bb2b-2d14b2bfd23b@googlegroups.com> Subject: Re: Exception traceback when using TDM-GCC 5.1.0-3 From: jrmarino Injection-Date: Wed, 20 Jul 2016 13:09:09 +0000 Content-Type: text/plain; charset=UTF-8 Xref: news.eternal-september.org comp.lang.ada:31110 Date: 2016-07-20T06:09:09-07:00 List-Id: On Wednesday, July 20, 2016 at 2:13:37 AM UTC-5, ah...@marriott.org wrote: > On Wednesday, July 20, 2016 at 8:43:18 AM UTC+2, Simon Wright wrote: > > ahlan@marriott.org writes: > > > > > ... why TDM (or someone) hasn't applied these fixes to FSF, especially > > > as your work doesn't seem to be new. > > > > Is this only a Windows thing? You get a hex traceback under macOS, but you > > have to rely on an external tool (atos) to symbolicate (?) it. > > > > (Actually, ISTR someone produced symbolic traceback code?) > > > > > I am astounded that people can use a system that doesn't provide a > > > traceback - how on earth can you debug? > > > > If atos doesn't ring the bell immediately, it's time for gdb. But maybe > > TDM doesn't support gdb? You could always try the AdaCore GPL gdb, that > > would carry no GPL flavour into your product. > > Dear Simon, > Our problem is that we don't get a traceback at all. > In AdaCore's GNAT the traceback is displayed by default in hex. > To convert that into a symbolic traceback we use Gnat.Traceback.Symbolic. > However this is not the problem. > The problem is that we don't get a traceback at all - ie the -E switch doesn't seem to have the desired effect. > In System.ads ZCX_By_Default is set to False for AdaCore GNAT and True for TDM so I wondered if that had anything to do with the problem. > However John seems to think that the problem is more fundamental. > > MfG > Ahlan I misunderstood you I think. I was fixing GNAT.Traceback.Symbolic (so that it doesn't require addr2line). I don't have any knowledge of TDM so I can't help further. I does sound like you should be getting some kind of trace though.