This is the mail archive of the gcc@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: Help with cfi markup for MIPS16 hard-float stubs


On 02/15/2012 08:53 PM, Richard Sandiford wrote:
> This fixes gdb backtraces from a stripped executable, but libgcc's
> unwinder seems to get confused by having a stub in the middle of the
> trace that (a) isn't a signal handler and (b) has no frame of its own.
> The CFA at the point of the call to the stub (i.e. the point that is
> trying to catch the exception) is the same as the CFA at the call
> in the stub itself.  We then trip:
> 
>       /* Don't let us unwind past the handler context.  */
>       gcc_assert (!match_handler);
> 
> in _Unwind_RaiseException_Phase2.  What's the right thing to do here?

Looks like the same problem I'm having on s390 with a java testcase:
http://gcc.gnu.org/ml/gcc/2012-01/msg00341.html

Bye,

-Andreas-


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