This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] Removing external addr2line depedency
- To: Lutz Donnerhacke <lutz at iks-jena dot de>
- Subject: Re: [Ada] Removing external addr2line depedency
- From: Geert Bosch <bosch at gnat dot com>
- Date: Thu, 18 Oct 2001 18:26:51 -0400 (EDT)
- Cc: gcc-patches at gcc dot gnu dot org
On 18 Oct 2001, Lutz Donnerhacke wrote:
* Lutz Donnerhacke wrote:
>I'll send the diff when the cvs server reduced the load.
So back at home:
Two parts: First the patch and than a new file.
Apart from the numerous style issues (see gnat-style.texi) which I will
not comment on right now, there are some more fundamental technical
problems as well with the code you suggest. The biggest problem is that
you cannot depend on the runtime packages you added, in particular you
must never use controlled types, since this will result in finalization
problems when printing a symbolic traceback when a program is terminated
by an unhandled exception.
As Florian writes, symbolic traceback using BFD is already implemented,
although the contribution of this code is not yet complete. We are
currently working on getting our binutils patches integrated, but that
work has not been finished yet.
If you want to help moving integration of gnatmem/symbolic traceback forward,
I can send you the binutils patches. These contain the code for the Ada
demangler as well as the changes for libaddr2line.
-Geert