This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


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

Re: [RFC] sigsetjmp/siglongjmp on cygwin


> On Wed, 1 Aug 2001, Keith Seitz wrote:
> 
> 
>> > [...] An alternative would be to #undef
>> > HAVE_SIGSETJMP in the cygwin xm.h file.  That isolates this bogosity
>> > nicely in a platform-specific file.
> 
>> 
>> Hmmm.. This might be a better approach. I hate touching configure.in: it
>> makes everyone recompile all of gdb.
> 
> 
> Or maybe #define sigsetjmp setjmp etc., again in a Cygwin-specific
> header.  You can even make that define be version specific, assuming
> that some future version of Cygwin solves the problem.


Again, I'm not too warm on this.

Remember, the idea is for autoconf to perform a feature based test: is 
feature XYZ supported?  In the case of the above, the feature question 
is: does the system have a useable sigsetjmp()?  Unfortunatly, the test 
currently asks: does the system have anything looking like sigsetjmp(), 
working or not? :-)  I think Keith's original patch is the correct fix. 
  It refines the test so that, for cygwin, it reports back ``no 
sigsetjmp()'' is not there (or is broken).

	Andrew


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