This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports 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]

Re: [PATCH 1b/9] Tilera (and Linux asm-generic) support for glibc


On Sat, 5 Nov 2011, Chris Metcalf wrote:

> The other thing that our backtracer does correctly is parse the kernel's
> sigreturn data so that it can backtrace across a signal.  Does the IA64
> DWARF-based backtracer handle that?

This is what linux-unwind.h (MD_FALLBACK_FRAME_STATE_FOR) in the GCC 
sources is for (now in libgcc/config/<arch>, formerly in 
gcc/config/<arch>): signal frame unwinding.  If you don't have it or it's 
broken, I'd expect the testcases gcc.dg/cleanup-{8,9,10,11}.c to fail.

(Some targets may have variant approaches, such as signal frames using a 
vDSO for which the kernel provides unwind info, or the ARM EABI approach 
of sigrestorer.S in glibc with just enough unwind info.)

-- 
Joseph S. Myers
joseph@codesourcery.com


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