comp.lang.ada
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: Using Gnat.Traceback.Symbolic with gcc-3.4.3
Date: Sun, 06 Mar 2005 22:56:09 +0100
Date: 2005-03-06T22:56:09+01:00	[thread overview]
Message-ID: <87wtskbfra.fsf@deneb.enyo.de> (raw)
In-Reply-To: 87hdjo7v26.fsf@insalien.org

* Ludovic Brenta:

> libaddr2line.a is a library normally built from the binutils source
> distribution.  GNAT relies on it for sumbolic traceback of exceptions.
> Unfortunately, I am not aware of any binary distribution of GNU/Linux
> that ships libaddr2line.a.  I am not even sure that recent versions of
> binutils (as required by recent versions of GCC) support building
> libaddr2line.a.

IIRC, libaddr2line has never been part of the official binutils, and
it's source code has not been released (probably by accident, but
still).

J�rgen Pfeifer wrote GNAT patches that invoke /usr/bin/addr2line to
resolve the addresses.  This approach avoids the dependency on the BFD
library and is cleaner.  Of course, it's a bit slower.

I'm not sure what the Java front end does.  This code should probably
be reused.



      reply	other threads:[~2005-03-06 21:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-06 12:35 Using Gnat.Traceback.Symbolic with gcc-3.4.3 Bernd Trog
2005-03-06 13:39 ` Ludovic Brenta
2005-03-06 21:56   ` Florian Weimer [this message]
replies disabled

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