This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/30498] Support traceback (backtrace) on errors



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]