`backtrace' implemented on MIPS?

Jonathan Nieder jrnieder@gmail.com
Tue Feb 22 03:13:00 GMT 2011


Hi Pan,

Pan ruochen wrote:

> I tried the example code along with the backtrace manpage. But the
> executabe didn't seem to work on MIPS.

Yes, backtrace() is not implemented on MIPS.  [1] has some details.

If you are knowledgeable about MIPS calling conventions and would
like to work on this, I imagine the people at <libc-ports@sourceware.org>
and this list would be happy to help.

See sysdeps/*/backtrace.c for examples of the functions that would
need to be implemented (from other architectures).

Hope that helps,
Jonathan

[1] http://www.celinux.org/elc08_presentations/ELC2008%20-%20Back-tracing%20in%20MIPS-based%20Linux%20Systems.pdf



More information about the Libc-help mailing list