This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: Support Windows extended error numbers in safe_strerror
> Date: Sat, 04 Feb 2006 12:29:22 +0200
> From: Eli Zaretskii <eliz@gnu.org>
>
> > Cc: Jim Blandy <jimb@red-bean.com>, Mark Kettenis <mark.kettenis@xs4all.nl>, gdb-patches@sourceware.org
> > From: Ian Lance Taylor <ian@airs.com>
> > Date: 03 Feb 2006 22:22:10 -0800
> >
> > It's the only non-Unix-like host which gdb runs on today.
>
> That's not true: there's the DJGPP (a.k.a. MS-DOS) port of GDB, where
> GDB still runs. It just needs less DOS-specific code because it has a
> Posix-compliant library (which includes `select' emulation). But you
> can still see an occasional "#ifdef __MSDOS__" or "#ifdef __DJGPP__"
> or "#ifdef __GO32__" in the sources.
But DJGPP at least takes the trouble of providing that POSIX
compatible library. And there is a Free (as in Freedom) MS-DOS
available (don't know if DJGPP runs on it though).
That said, I'd probably object if someone would contribute a DJGPP
port with all its #ifdef's today. But we've had DJGPP support in the
tree for ages, and as long as there's someone actively working on
DJGPP support I feel that I can't ask for its removal.
Mark