tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: adding execinfo.h
On Tue, Jan 24, 2012 at 10:22:13PM -0500, Christos Zoulas wrote:
> I've written an implementation of the backtrace family of functions
> described in:
>
> http://www.kernel.org/doc/man-pages/online/pages/man3/backtrace.3.html
>
> You can find it in:
>
> http://www.netbsd.org/~christos/libexecinfo.tar.gz
>
> In addition to providing support for resolving static symbols via libelf,
> it also allows for formatting control of the output.
>
> Should I commit it?
I think in the current form, it is too limited to be installed, at
least. E.g. it won't work with frame pointer elimination on x86. That's
the default mode for AMD64. A better idea might be to start from
libgcc's unwind.h.
Joerg
Home |
Main Index |
Thread Index |
Old Index