comp.lang.ada
 help / color / mirror / Atom feed
From: Lucretia <laguest9000@googlemail.com>
Subject: Re: gnat on debian arm
Date: Wed, 25 Apr 2012 09:03:11 -0700 (PDT)
Date: 2012-04-25T09:03:11-07:00	[thread overview]
Message-ID: <26671007.3422.1335369791593.JavaMail.geo-discussion-forums@vbbfr18> (raw)
In-Reply-To: <2686916.432.1335368932863.JavaMail.geo-discussion-forums@vbbcc6>

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.



  reply	other threads:[~2012-04-25 16:41 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-09 16:19 gnat on debian arm tonyg
2012-03-09 18:00 ` Ludovic Brenta
2012-03-13 12:29   ` tonyg
2012-03-13 14:00     ` Simon Wright
2012-03-13 14:20       ` Ludovic Brenta
2012-03-13 15:13         ` Simon Wright
2012-03-13 14:13     ` Ludovic Brenta
2012-03-13 16:36       ` Georg Bauhaus
2012-03-13 16:41         ` Shark8
2012-03-13 18:04         ` Randy Brukardt
2012-03-13 19:44           ` Ludovic Brenta
2012-03-16 13:16         ` tonyg
2012-03-28 10:49         ` Álex R. Mosteo
2012-03-14 10:02       ` Rolf
2012-04-17 19:15     ` GNAT on Raspberry Pi (Was: gnat on debian arm) Jacob Sparre Andersen
2012-04-18  2:46       ` BrianG
2012-04-18 11:57       ` GNAT on Raspberry Pi Jacob Sparre Andersen
2012-04-19  7:08         ` Álex R. Mosteo
2012-04-25 15:41 ` gnat on debian arm Lucretia
2012-04-25 15:48   ` Ludovic Brenta
2012-04-25 16:03     ` Lucretia [this message]
2012-05-30 10:58       ` roderick.chapman
2012-05-30 13:53         ` Ludovic Brenta
2012-05-31 15:58           ` Tero Koskinen
2012-06-01  8:02             ` Ludovic Brenta
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox