This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problems with _Unwind_Backtrace() vs signal handlers
Bryce McKinlay writes:
>
> I don't think Linux uses MD_FALLBACK_FRAME_STATE_FOR any more, at
> least on the i686/ppc/x86-64 targets which I checked. Instead, my
> understanding is that glibc now provides the unwind info for its
> signal handler frames.
That may well be true, but libgcj does not use glibc's signal handler
frames -- we talk directly to the kernel, and always have. The real
problem is that we don't fix the IP address before calling
_Unwind_Backtrace().
Andrew.