• A
    Fix and refactoring of code used to get registers on crash. · 38b60dea
    antirez 提交于
    This fixes compilation on FreeBSD (and possibly other systems) by
    not using ucontext_t at all if HAVE_BACKTRACE is not defined.
    Also the ifdefs to get the registers are modified to explicitly test for the
    operating system in the first level, and the arch in the second level
    of nesting.
    38b60dea
debug.c 25.7 KB