------- Comment #3 from burnus at gcc dot gnu dot org 2007-02-07 09:47 ------- > Patch implementing the -fbacktrace option
I think one should add also some userhandler signal(SIGSEGV, my_segv_handler); which calls show_backtrace and exits/coredumps then. That way we calso get a backtrace for signalling arithmetic errors or for wrong pointer accesses etc. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30498