This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/54572] Use libbacktrace library
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 27 Nov 2012 10:05:50 +0000
- Subject: [Bug fortran/54572] Use libbacktrace library
- Auto-submitted: auto-generated
- References: <bug-54572-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54572
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
--- Comment #11 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-11-27 10:05:50 UTC ---
After compiling comment 5 with my changes of comment 10, I get:
Backtrace for this error:
0x2b9567c7ca0d _gfortrani_show_backtrace
/projects/tob/gcc-git/gcc/libgfortran/runtime/backtrace.c:92
0x2b9567c7d017 _gfortrani_backtrace_handler
/projects/tob/gcc-git/gcc/libgfortran/runtime/compile_options.c:129
0x2b95687503ef ???
???:0
0x40086b __test_MOD_c
/dev/shm/foo.f90:5
0x400847 __test_MOD_b
/dev/shm/foo.f90:10
0x40081a __test_MOD_a
/dev/shm/foo.f90:15
0x400897 bt
/dev/shm/foo.f90:22
0x40092f main
/dev/shm/foo.f90:20
And before (i.e with addr2line), I got:
Backtrace for this error:
#0 0x2AC1DC8D7AE7
#1 0x2AC1DC8D80F2
#2 0x2AC1DD3A43EF
#3 0x40086B in __test_MOD_c at foo.f90:5
#4 0x400847 in __test_MOD_b at foo.f90:10
#5 0x40081A in __test_MOD_a at foo.f90:15
#6 0x400897 in bt at foo.f90:22