• Staale Smedseng's avatar
    Bug #47391 no stack trace printed to error log on · 846c81c7
    Staale Smedseng authored
    solaris after a crash
          
    This patch adds a Solaris-specific version of
    print_stacktrace() which uses printstack(2), available on all
    Solaris versions since Solaris 9. (While Solaris 11 adds
    support for the glibc functions backtrace_*() as of
    PSARC/2007/162, printstack() is used for consistency over all
    Solaris versions.)
    
    The symbol names are mangled, so use of c++filt may be
    required as described in the MySQL documentation.
    846c81c7
stacktrace.h 1.99 KB