Branch: Tag:

2016-09-29

2016-09-29 08:33:52 by Arne Goedeke <el@laramies.com>

Interpreter: enable gdb_backtraces() even without debug

The gdb_backtraces() functions are _very_ useful when debugging crashes,
in order to understand which pike code triggered a certain issue. On
amd64 they result in around 3K bytes of extra code size.

3253: Inside #if defined(PIKE_DEBUG)
   }    }   } + #endif    -  +    static const char *safe_idname_from_int(struct program *prog, int func)   {    /* ID_FROM_INT with a thick layer of checks. */
3512:    gdb_backtrace();   #endif   } - #endif +       PMOD_EXPORT void custom_check_stack(ptrdiff_t amount, const char *fmt, ...)   {