Stack tracing on Linux ?

"Jérôme M. Berger" jeberger at free.fr
Sat Apr 4 07:29:56 PDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fawzi Mohamed wrote:
> On 2009-04-02 21:18:55 +0200, Sean Kelly <sean at invisibleduck.org> said:
> 
>> == Quote from Georg Wrede (georg.wrede at iki.fi)'s article
>>> Fawzi Mohamed wrote:
>>>>
>>>> The tracing of tango svn version (that uses libc backtrace) seems to
>>>> work rather well.
>>>> It does not give you the names, but as said that is due to a license
>>>> problem.
>>> Aarrghhh. What most frustrates me is when something obvious can't be
>>> done because of external trivialities.
>>
>> The Tango plugin architecture for backtrace was designed so that the
>> backtrace code doesn't have to be integrated into Tango itself,
>> eliminating
>> the license problem.  But I can see how this might be a problem if you
>> want to bundle a backtrace library with Tango :-)
> 
> having some stacktracing by default there was the number one request at
> the tango reference, and also in the wish list for a while.
> The idea is not to disallow external solutions, but to have something
> working there by default.
> Please note that something using GPL code even as plugin forces the
> whole application to be GPL, which is not acceptable for anyone not
> wanting to release its application as GPL.
> 
	The glibc has functions for stack tracing (backtrace and
backtrace_symbols) and it's licensed under the LGPL, so there should
be no problem...

		Jerome
- --
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknXbuQACgkQd0kWM4JG3k8AxQCeOws+fxLtAa0wbZ0YDiVgFyaQ
ht4AoLODMa7nV9eNtyRKoDbqrymcJcPQ
=BzNy
-----END PGP SIGNATURE-----



More information about the Digitalmars-d mailing list