Home | History | Annotate | Download | only in scripts

Lines Matching full:backtrace

3 # Test to see if backtrace requires a library in /usr/lib
4 # Returns true if the backtrace command works and requires a library in /usr/lib
8 cat > /tmp/backtrace$$.c << EOF
17 frames = backtrace(stack_syms, 32);
22 if ! cc -o /tmp/backtrace$$ /tmp/backtrace$$.c; then
26 if ! ldd /tmp/backtrace$$ > /tmp/backtrace$$.ldd 2>&1 ; then
30 grep -q /usr/lib /tmp/backtrace$$.ldd
33 /bin/rm -f /tmp/backtrace$$*