]> Git Repo - uclibc-ng.git/commit
libubacktrace: Provide uClibc with backtrace functions
authorSalvatore Cro <[email protected]>
Thu, 9 Sep 2010 13:45:44 +0000 (15:45 +0200)
committerCarmelo Amoroso <[email protected]>
Wed, 15 Sep 2010 10:31:22 +0000 (12:31 +0200)
commit37eb913ed8c4798b736e678f4dbd9f4a91a68f74
tree63fc2c1dbb887a043a7291c9c6215d2db7b5ba5a
parent7ac7be14eb4c8927fddffbe01fed74c605bf8597
libubacktrace: Provide uClibc with backtrace functions

A new shared object, libubacktrace.so.0 is added to uClibc
to provide backtrace functions to support application self-debugging.
This set of functions requires to dynamically load libgcc_s.so so they
need to call dlopen/dlsym that are provided by libdl. For this reason
they cannot be included into libc.so.0 but are provided by a new library.

User application that wants to use backtrace needs to be compiled with
-fexceptions option and -rdynamic to get full symbols printed and must be
linked against libubacktrace.so

Signed-off-by: Carmelo Amoroso <[email protected]>
12 files changed:
Makefile.in
Makerules
Rules.mak
extra/Configs/Config.in
include/execinfo.h [new file with mode: 0644]
libubacktrace/Makefile [new file with mode: 0644]
libubacktrace/Makefile.in [new file with mode: 0644]
libubacktrace/backtrace.c [new file with mode: 0644]
libubacktrace/backtracesyms.c [new file with mode: 0644]
libubacktrace/backtracesymsfd.c [new file with mode: 0644]
libubacktrace/sysdeps/sh/Makefile.arch [new file with mode: 0644]
libubacktrace/sysdeps/sh/backtrace.c [new file with mode: 0644]
This page took 0.024293 seconds and 4 git commands to generate.