unwind-dw2.c
Tony Kimball
alk@pobox.com
Thu Jun 14 00:56:00 GMT 2001
I fell as though I'm over my head. The cross-compile from linux for
cygwin seems to be working well at this point, except that exceptions
do not work. This is what I learned about the failure mode this past
evening:
During _Unwind_RaiseException, uw_frame_state_for (called from
uw_init_context_1) returns _URC_END_OF_STACK, which leads to abort().
This return is caused by unseen_objects and seen_objects being null
simultaneously in unwind-dw2-fde.c. My naive impression is that
__register_frame_info_bases needs to be called before the routine
doing the throw executes, but is not.
My next planned step is to walk through a simple throw in the linux
native compile, just to see how it *ought* to work. I don't know why
I'm posting this message. I guess my enthusiasm is at low ebb.
Perhaps someone could say 'keep going, you're making progress', or
'you should look at such-and-such code'?
More information about the Java
mailing list