[eliz@is.elta.co.il: Termios support in the DJGPP port of GDB]

Stan Shebs shebs@cygnus.com
Thu Aug 19 12:20:00 GMT 1999


   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


More information about the Gdb-patches mailing list