This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [eliz@is.elta.co.il: Termios support in the DJGPP port of GDB]
- To: eliz@gnu.org
- Subject: Re: [eliz@is.elta.co.il: Termios support in the DJGPP port of GDB]
- From: Stan Shebs <shebs@cygnus.com>
- Date: Thu, 19 Aug 1999 12:20:32 -0700
- CC: dj@delorie.com, gdb-patches@sourceware.cygnus.com
Date: Thu, 19 Aug 1999 05:34:30 -0400
From: Eli Zaretskii <eliz@gnu.org>
> 1999-06-26 Eli Zaretskii <eliz@is.elta.co.il>
>
> * inflow.c (tcgetpgrp, tcsetpgrp) [__DJGPP__]: Define away.
>
> Rather than adding yet another ifdef to a generic file, I'd prefer to
> see #define macros added to a platform-specific file, for instance
> xm-go32.h
It turns out that DJGPP's unistd.h has a prototype fro these
functions, which makes it impossible to define them away in a header
included by defs.h.
The absence of these functions from the DJGPP library is actually a
bug; but until it is corrected, I added simple versions in go32-nat.c:
That's a good way to solve too, thanks. I'll leave it to DJ to do the
actual checkin... -s