Re: GNAT package GNAT.Traceback.Symbolic

2005-12-10 Thread Bernd Trog
BTW, has someone ported the binutils-2.13.2.1 libaddr2line patches to binutils-2.16? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: GNAT package GNAT.Traceback.Symbolic

2005-12-08 Thread Arnaud Charlet
> libaddr2line used to be a proprietary library distributed by AdaCore > only. This is wrong, libaddr2line never was proprietary. It can't be in any case, since it's based on binutils. > IIRC, libaddr2line never was suitable for tasking. This is also wrong, GNAT.Traceback.Symbolic is suitable fo

Re: GNAT package GNAT.Traceback.Symbolic

2005-12-07 Thread Tom Tromey
> "Florian" == Florian Weimer <[EMAIL PROTECTED]> writes: Florian> Java implementations needs to solve pretty much the same Florian> problem. How is it done in GCJ? When printing a stack trace we exec addr2line if it is available. This is optional though, there is a system property you can s

Re: GNAT package GNAT.Traceback.Symbolic

2005-12-07 Thread Florian Weimer
* Andrew Haley: > > Java implementations needs to solve pretty much the same problem. How > > is it done in GCJ? > > Every Java class has full reflection data for all of its methods. > Given the address of a method, therefore, it's a straightforward > reverse lookup to get the name. It seems t

Re: GNAT package GNAT.Traceback.Symbolic

2005-12-07 Thread Richard Kenner
libaddr2line used to be a proprietary library distributed by AdaCore only. (I'm not sure if it was intentionally proprietary.) As far as I know, it's just the binutils addr2line with a tiny patch/wrapper. Certainly covered the by GPL, not proprietary.

Re: GNAT package GNAT.Traceback.Symbolic

2005-12-07 Thread Andrew Haley
Florian Weimer writes: > * David Gressett: > > > It does work with the GNAT GPL 2005 that I have on my XP box at home. A > > search of the gcc mailing list archive didn't turn up much, but there > > was one message which indicated that there was a license problem with > > the addr2line so

Re: GNAT package GNAT.Traceback.Symbolic

2005-12-07 Thread Florian Weimer
* David Gressett: > It does work with the GNAT GPL 2005 that I have on my XP box at home. A > search of the gcc mailing list archive didn't turn up much, but there > was one message which indicated that there was a license problem with > the addr2line source code that the Ada Core people were

GNAT package GNAT.Traceback.Symbolic

2005-12-07 Thread David Gressett
What is the status of GNAT.Traceback.Symbolic? I have gcc 4.0.1 20050727 (Red Hat 4.0.1-5) on my Fedora C4 system, and gcc 3.4.2 (mingw-special) and gcc 3.4.5 on my Windows 2000 system. In all 3 of these, the source code comments in g-trasym.ads indicate that symbolic traceback doesn't work on