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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.157.6.225 with SMTP id 88mr29120318otx.7.1469686021815; Wed, 27 Jul 2016 23:07:01 -0700 (PDT) X-Received: by 10.157.62.183 with SMTP id b52mr2124778otc.1.1469686021786; Wed, 27 Jul 2016 23:07:01 -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!f6no5322355ith.0!news-out.google.com!d68ni8923ith.0!nntp.google.com!f6no5327158ith.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 27 Jul 2016 23:07:01 -0700 (PDT) In-Reply-To: <273d77a5-55a6-4de6-abbe-93bb61ecfdc3@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:1205:c68c:9d90:ada1:bcbc:1d30:cfb3; posting-account=Pm0FhgoAAAAiPscNT3etSZ15tHNZGXm_ NNTP-Posting-Host: 2a02:1205:c68c:9d90:ada1:bcbc:1d30:cfb3 References: <3e02dbb0-69e3-429b-b8c5-d4762dbeb187@googlegroups.com> <66240de6-d3a8-458d-9eb9-1214f790831c@googlegroups.com> <22f2e37f-dc90-42ce-a6d3-42f0a471c4d6@googlegroups.com> <6178bf6c-6125-43b2-86c4-aeb08be48442@googlegroups.com> <273d77a5-55a6-4de6-abbe-93bb61ecfdc3@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4bd0a4ff-8262-41ee-bb5c-23672206a59a@googlegroups.com> Subject: Re: Exception traceback when using TDM-GCC 5.1.0-3 From: ahlan.marriott@gmail.com Injection-Date: Thu, 28 Jul 2016 06:07:01 +0000 Content-Type: text/plain; charset=UTF-8 Xref: news.eternal-september.org comp.lang.ada:31193 Date: 2016-07-27T23:07:01-07:00 List-Id: On Wednesday, 27 July 2016 23:03:16 UTC+2, Anh Vo wrote: > On Wednesday, July 27, 2016 at 1:33:23 PM UTC-7, ahlan.m...@gmail.com wrote: > > On Wednesday, 27 July 2016 21:32:37 UTC+2, Anh Vo wrote: > > > On Wednesday, July 27, 2016 at 8:45:51 AM UTC-7, Simon Wright wrote: > > > > ahlan.marriott@gmail.com writes: > > > > > > > > > What is tdm-gcc-webdl.exe and where did you get it from? > > > > > I used TDM-GCC-5.1.0-3.exe and gcc-5.1.0-tdm-1-ada.zip from > > > > > http://tdm-gcc.tdragon.net > > > > > > > > It's the "on-demand installer" (the box on the right on that page). > > > > > > > > My Windows 7 is 32-bit (running under VMware). > > > > > > It worked as expected on PC running Windows 7. Just like Simon, I used on-demand installer tdm-gcc-webdl.exe. > > > > > > Anh Vo > > > > Dear Simon and Anh, > > > > Yes that seems to be better. > > If I use the on demand installer then I get traceback information. > > This then begs the question of what exactly is the difference between what I was doing and what the on demand installer has done? > > > > However it is still not quite right. > > The traceback I now get consists only of two numbers rather than the 8 Simon had. > > They are both above 0x77000000 and like the last two in Simon's traceback (that were also in this range) bring back only ?? > > > > So now I am getting a traceback but not the full traceback. > > The exception is captured captured and handled in the exception handler. In addition, the traceback information is extracted as shown below. > > --... > exception > when Error : others => > Put_Line (GNAT.Traceback.Symbolic.Symbolic_Traceback(Error)); > --... Dear Anh, Yes this is how I catch exceptions and display them symbolically. My current problem is that although I get some kind of traceback, it isn't complete. I only get two of the expected eight traceback addresses. The two I do get have very high addresses and it seems normal that these cannot be resolved symbolically - hence they are displayed as "??" by both Gnat.Traceback.Symbolic.Symbolic_Traceback and addr2line MfG Ahlan