framestate.c breaks when gcc is compiled with --enable-sjlj-exceptions

Carlos O'Donell carlos@baldric.uwo.ca
Mon Apr 21 19:53:00 GMT 2003


libc-alpha,

In sysdeps/generic/framestate.c there is a reliance on being able to
pull in a fall-back "__frame_state_for" this is not the case when sjlj
exception handling is enabled in gcc, as the included unwind-dw2.c 
is empty (#ifndef __USING_SJLJ_EXCEPTIONS__)

sysdeps/generic/framestate.c
     24 #define __frame_state_for fallback_frame_state_for
     25 #include <unwind-dw2.c>
     26 #undef __frame_state_for

Doesn't set a fallback in the above scenario.

I'm not quite sure how to fix this without breaking the compatibility
that this code is trying to assure.

c.



More information about the Libc-alpha mailing list