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.22.211 with SMTP id s19mr12647734ots.31.1469386481041; Sun, 24 Jul 2016 11:54:41 -0700 (PDT) X-Received: by 10.157.11.162 with SMTP id 31mr711601oth.16.1469386481014; Sun, 24 Jul 2016 11:54:41 -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!f6no4238474ith.0!news-out.google.com!d68ni5345ith.0!nntp.google.com!f6no4229473ith.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 24 Jul 2016 11:54:40 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:1205:c68c:9d90:c811:bdfb:20d4:421a; posting-account=Pm0FhgoAAAAiPscNT3etSZ15tHNZGXm_ NNTP-Posting-Host: 2a02:1205:c68c:9d90:c811:bdfb:20d4:421a References: <3e02dbb0-69e3-429b-b8c5-d4762dbeb187@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Exception traceback when using TDM-GCC 5.1.0-3 From: ahlan.marriott@gmail.com Injection-Date: Sun, 24 Jul 2016 18:54:41 +0000 Content-Type: text/plain; charset=UTF-8 Xref: news.eternal-september.org comp.lang.ada:31143 Date: 2016-07-24T11:54:40-07:00 List-Id: On Sunday, 24 July 2016 19:14:43 UTC+2, jrmarino wrote: > On Sunday, July 24, 2016 at 4:44:27 AM UTC-5, Simon Wright wrote: > > ahlan.marriott@gmail.com writes: > > > > > The Call stack traceback locations are what I was expecting but > > > unfortunately are missing when I raise an exception. > > > So the question is why. > > > Do you compile or build with different switches than me? > > > > >gnatmake -g -f ce.adb -bargs -E > > > > (-f only to force the recompilation) > > > > No idea why ... > > I had the same experience last month. I had to pass "-bargs -E" through the command line because "-E" as a binder switch did not work. I also did not understand why, but I stopped thinking about it after I got it to work with -bargs. Hi, I am using GprBuild not Gnatmake - any ideas what switches I should use either on the command line or within the gpr file to get exception traceback with TDM-GCC. Code compiled using AdaCore's Gnat Pro and GPL produce tracebacks if I provide -E to bind in the gpr. Ahlan