Your change of Apr 24 2010 introduced the second argument to common_init, and used it to pass 1 (use_prev_instr set) from unw_init_local and 0 (use_prev_instr clear) from unw_init_remote. I don’t know how those choices were made, but for my purposes, the choice for unw_init_local was wrong, and I have to change that decision in the copy of libunwind that we’ll use here. I’d welcome an explanation of that decision.
Doug
What platform are you on? fetch_proc_info() should auto-detect signal frame and set use_prev_instr accordingly using the (kernel-provided) frame annotations detected in parse_cie(). I don't know if that works for anything but linux (and possibly x86_64 only at that). Looks like there may be some support for freebsd.
!DSPAM:10223,58d54b7039342953010367!
|