This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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][SPARC] sparc: switch -fasynchronous-unwind-tables on by default.


    > The backtrace(3) implementation for sparc contains a simple unwinder
    > that works well in most cases, but that unwinder is not used if
    > libgcc_s.so can be dlopened and it provides _Unwind_Backtrace.
    
    There's no reason that simple unwinder can't be put into
    MD_FALLBACK_FRAME_STATE_FOR.
    
    Currently we only use that for unwinding through signal stacks, but it could be
    used for anything that the dwarf2 unwinder doesn't have data for.  Given sparc
    register windows, this seems particularly reliable.
    
Sounds like a good idea.  Let me prepare a patch for that...


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