This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Using libbacktrace in libgfortran: some questions
- From: FX <fxcoudert at gmail dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: Ian Lance Taylor <ian at airs dot com>, GCC Development <gcc at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>
- Date: Thu, 13 Aug 2015 17:50:47 +0200
- Subject: Re: Using libbacktrace in libgfortran: some questions
- Authentication-results: sourceware.org; auth=none
- References: <8880A586-94DE-4745-B2BD-E07582E0F1DD at gmail dot com> <m3r3n7l2vb dot fsf at pepe dot airs dot com> <36782CE5-FAB5-4651-92B1-0A5C5C0B422A at gmail dot com> <5BD9B520-145D-4806-BBAD-1D003465CB1A at gmail dot com> <CAKOQZ8zPwKjU+L20xCsSVm6DrC619LPdrOHEh+TjtHAHuABU=A at mail dot gmail dot com> <CAKOQZ8xi5MF_N2Yeh-rQU6is=8XV_nxWQ50Fv_btri__iUdZVg at mail dot gmail dot com>
> And yet, that patch has absolutely nothing to do with libbacktrace.
> Hmmm. Let's try this one.
Works perfectly with the patch:
Program aborted. Backtrace:
#0 0xf75e5b9b _gfortrani_show_backtrace
../../../../trunk/libgfortran/runtime/backtrace.c:113
#1 0xf75e6aa7 _gfortrani_sys_abort
../../../../trunk/libgfortran/runtime/error.c:176
#2 0xf769a7a7 _gfortran_abort
../../../../trunk/libgfortran/intrinsics/abort.c:33
#3 0x80486e4 bar
/home/fx/gcc/irun/a.f90:9
#4 0x8048706 foo
/home/fx/gcc/irun/a.f90:5
#5 0x80486f2 test
/home/fx/gcc/irun/a.f90:2
#6 0x8048743 main
/home/fx/gcc/irun/a.f90:2
Aborted (core dumped)
Thanks!
FX