This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [Ada] Removing external addr2line depedency



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]