all the stack trace related functions are now in debug.c. Now Redis dumps registers and stack content on crash. Currently osx supported, adding Linux right now.

This commit is contained in:
antirez
2012-01-20 12:20:45 +01:00
parent f7ccc4830b
commit d4d208595c
3 changed files with 220 additions and 136 deletions

View File

@ -1161,5 +1161,6 @@ void _redisAssert(char *estr, char *file, int line);
void _redisPanic(char *msg, char *file, int line);
void bugReportStart(void);
void redisLogObjectDebugInfo(robj *o);
void sigsegvHandler(int sig, siginfo_t *info, void *secret);
sds genRedisInfoString(char *section);
#endif