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


>>>>> "Andrew" == Andrew Cagney <ac131313@cygnus.com> writes:

  Andrew> Since you know a thing or two about autoconf 
  Andrew> (http://sources.redhat.com/autobook/ ;-) would you mind giving an 
  Andrew> opinion on the below.

  Andrew> The full thread is at:
  Andrew> http://sources.redhat.com/ml/gdb-patches/2001-08/msg00012.html

I can see the arguments from both sides -- localise the warts to
configure.in or push them out into the platform-specific file.

One must keep in mind the traditional approach used by Autoconf for
situations like this: write a test that *detects* whether
sig{set,long}jmp are broken.

The current proposals suffer the problem that GDB and Cygwin versions
will have to follow in lock-step because GDB's configury will assume
that sig{set,long}jmp is either present or absent for Cygwin hosts.
This will not be true once (if?) Cygwin is fixed and there are two
"strains" :-) out there -- those that are fixed and those that are
not.

Ben


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