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.99.117.65 with SMTP id f1mr9680122pgn.16.1498732120593; Thu, 29 Jun 2017 03:28:40 -0700 (PDT) X-Received: by 10.36.78.6 with SMTP id r6mr82520ita.1.1498732120524; Thu, 29 Jun 2017 03:28:40 -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!188no54852itx.0!news-out.google.com!k7ni3217itk.0!nntp.google.com!185no2078536itv.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 29 Jun 2017 03:28:40 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=193.163.1.105; posting-account=Srm5lQoAAAAEMX9rv2ilEKR6FDPapmSq NNTP-Posting-Host: 193.163.1.105 References: <8e27f6c4-050d-4005-ab87-7d9981712c77@googlegroups.com> <12108259-486f-4958-b779-4814ad9a5853@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <7a90f038-887d-4ec9-9da6-aca0a0ebd5c9@googlegroups.com> Subject: Re: gnat-2017 - ZFP add tasking support From: Mark Lorenzen Injection-Date: Thu, 29 Jun 2017 10:28:40 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:47170 Date: 2017-06-29T03:28:40-07:00 List-Id: On Thursday, June 29, 2017 at 11:09:54 AM UTC+2, alby....@gmail.com wrote: >=20 > Hi Mark and Simon >=20 > Thanks for your valued advise, Option 2) was a lot easier to implement th= an I > thought it would be. However in removing the "restricted" functions, and = I > believe this centres around the SEH (ie exception handling API's such as > RtlVirtualUnwind and RtlCaptureContext) I have inadvertently screwed up A= da's > exception handling ! >=20 > I'll try and dig deeper and analyse the issue more deeply, But if anyone = could > give me pointers on the SEH code in "raise_gcc.c", "unwind_seh.c" and > "traceback.c", that would be greatly appreciated. >=20 > Thanks >=20 > Alex "unwind", "traceback" etc. sound like stack unwinding and traceback in case= of exceptions. Have you tried building the RTS (and an application using the RTS) with pra= gma Restrictions (No_Exception_Propagation) or pragma Restrictions (No_Exce= ption_Handlers)? See section 3.1 in the document I linked to. Restriction e= xception mechanism will of course not provide you with the full Ada excepti= on mechanism, but may be good enough for your purpose. Regards, Mark L