Branch: Tag:

2016-08-16

2016-08-16 14:53:07 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.

3228: 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. */
3487:    gdb_backtrace();   #endif   } - #endif +       PMOD_EXPORT void custom_check_stack(ptrdiff_t amount, const char *fmt, ...)   {