Hi, On Thu, 2008-01-17 at 12:12 +0100, Mark Wielaard wrote: > Although it does find the right fde covering the ip ranges, it doesn't > always run the cfi program correctly. Because it was using the wrong address space... duh. So this small patch records and makes sure the right one is always used (debug_frame lives in our, not in the inferior address space). frysk-imports/libunwind/ChangeLog 2008-01-18 Mark Wielaard * include/dwarf.h (dwarf_cie_info): Add as and as_arg members. * src/dwarf/Gfde.c (dwarf_extract_proc_info_from_fde): Set dci as and as_arg when not local only. * src/dwarf/Gparser.c (run_cfi_program): Use dci as and as_arg when not local only. frysk-sys/lib/unwind/ChangeLog 2008-01-18 Mark Wielaard * cni/UnwindH.hxx (get_eh_frame_hdr_addr): Prefer debug_frame. The patch is small, but it does enable using debug_frame in preference to eh_frame when found (but currently only in the main executable, a follow up patch should make sure that libdwfl is always used to get at the debug_frame). All tests now PASS with this enabled. Cheers, Mark