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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9f79bf3a95fa27f0 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.197.193 with SMTP id iw1mr3191530pbc.0.1335372073253; Wed, 25 Apr 2012 09:41:13 -0700 (PDT) Path: r9ni97505pbh.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Lucretia Newsgroups: comp.lang.ada Subject: Re: gnat on debian arm Date: Wed, 25 Apr 2012 09:03:11 -0700 (PDT) Organization: http://groups.google.com Message-ID: <26671007.3422.1335369791593.JavaMail.geo-discussion-forums@vbbfr18> References: <16156496.430.1335368506343.JavaMail.geo-discussion-forums@vbfg3> <2686916.432.1335368932863.JavaMail.geo-discussion-forums@vbbcc6> NNTP-Posting-Host: 90.198.231.13 Mime-Version: 1.0 X-Trace: posting.google.com 1335372073 19461 127.0.0.1 (25 Apr 2012 16:41:13 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 25 Apr 2012 16:41:13 +0000 (UTC) In-Reply-To: <2686916.432.1335368932863.JavaMail.geo-discussion-forums@vbbcc6> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=90.198.231.13; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-04-25T09:03:11-07:00 List-Id: On Wednesday, April 25, 2012 4:48:52 PM UTC+1, Ludovic Brenta wrote: > Lucretia wrote on comp.lang.ada: > > tonyg wrote: > >> Does anyone know if gnat is fully ported to debian ARM and its > >> status? > > > > Well, yeah, but no, but, is the best answer. > > > > Debian ARM is actually arm-eabi, The current ARM GNAT's exception > > handling uses SJLJ which is not part of the EABI standard; the > > standard uses ZCX in DWARF2 tables, which has not been ported to > > ARM yet, I've tried and got stuck/confused. > > IIUC, that means that pure Ada programs work perfectly well but that > exceptions cannot cross language boundaries, i.e. if your Ada program > uses some C++ library that raises exceptions, then you cannot handle > the exception in Ada? Big deal. It'll be slower than ZCX as well, that is a big deal. > Otherwise, could you please elaborate on what you mean by > "stuck/confused"? Ever looked at the exception code? Understand the exception tables? Nope, me neither. I posted a patch to gcc ml with my progress a while back, it works to a point, but there needs to be code to set up the actual ARM exception also. I just got confused with it all tbh. Luke.