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]
Other format: [Raw text]

Re: PATCH: Guard uses of fork


> Date: Wed, 16 Mar 2005 10:29:23 -0500
> From: Daniel Jacobowitz <drow@false.org>
> Cc: gdb-patches@sources.redhat.com
> 
> > I left the CANT_FORK define in place because that's defined by
> > defs.h in the case __MSDOS__, and Dan says that configure isn't
> > run in that case.

Dan was wrong: the DJGPP (a.k.a. MSDOS) build does run the configure
script, albeit slightly edited (see config/djgpp/djconfig.sh for the
gory details).

The reason why defs.h defines CANT_FORK for the __MSDOS__ build is
that the DJGPP library does have `fork', but it's a stub that always
fails, and I don't want to depend on the configure script to get this
right.


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