I can easily add it to 7.5 CVS. Currently my code breaks on the following signals:
signal(SIGILL, print_backtrace); signal(SIGQUIT, print_backtrace); signal(SIGABRT, print_backtrace); signal(SIGFPE, print_backtrace); signal(SIGSEGV, print_backtrace); signal(SIGBUS, print_backtrace); #ifdef SIGSYS signal(SIGSYS, print_backtrace); #endif
We want to remove SIGQUIT (which I use for debugging) since it's not strictly an error. Are the other ones ok to use as is? Note that it only, as far as I know, dumps the current thread.
/ David Hedbor
Previous text:
2003-10-02 17:31: Subject: Some tasks from the conference
How about dumping C backtraces also, when possible (probably limited to Linux?).
That'd be very welcome. I've missed it many times when trying to debug heavy production systems.
/ Martin Stjernholm, Roxen IS