[RFC] sigsetjmp/siglongjmp on cygwin

Christopher Faylor cgf@redhat.com
Thu Aug 2 13:51:00 GMT 2001


On Wed, Aug 01, 2001 at 07:16:43PM -0400, Andrew Cagney wrote:
>
>> Can't say I like your patch.  An alternative would be to #undef
>> HAVE_SIGSETJMP in the cygwin xm.h file.  That isolates this bogosity
>> nicely in a platform-specific file.  Perhaps some other folks have an
>> opinion on this.  If you don't hear anything, feel free to choose a
>> hack.
>
>
>I'm not so warm on the idea of putting something in an xm.h file.  I 
>think the *SETJMP test, hacks, warts, and all should be localized.

How can we test for sigsetjmp working or not working in a cross-build
environment, though.

I have changed opinions on whether sigsetjmp should work in cygwin about
five times today.  After spending some time looking at the code, I have
to confess that it seems like it should work ok to me.  That's my
current opinion, anyway.

I'd like to understand the kind of problems that Keith is seeing.  Maybe
there is something that can be done to the sigsetjmp/siglongjmp macros
to fix this problem in gdb so that we don't have to say "upgrade cygwin".

I'm very interested in fixing cygwin, though, of course.

cgf



More information about the Gdb-patches mailing list