From: Michael Meissner Date: Fri, 5 Apr 1996 18:27:08 +0000 (+0000) Subject: Undef SIOCSPGRP if on Linux X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b3f9ed645ef309ac4f784157aafd3ccd228ba37;p=binutils-gdb.git Undef SIOCSPGRP if on Linux --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2c628ac609a..dc6ff49cdcc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Fri Apr 5 13:25:42 1996 Michael Meissner + + * gdbtk.c (SIOCSPGRP, linux): If on Linux, undef SIOCSPGRP, since + some versions of the kernel don't support it. + Thu Apr 4 20:16:55 1996 Fred Fish * configure.in: Check for setpgid function. diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c index 31903f24553..75108aca8eb 100644 --- a/gdb/gdbtk.c +++ b/gdb/gdbtk.c @@ -49,6 +49,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include #endif +/* Some versions (1.3.79, 1.3.81) of Linux don't support SIOCSPGRP the way + gdbtk wants to us it... */ +#ifdef __linux__ +#undef SIOCSPGRP +#endif + /* Handle for TCL interpreter */ static Tcl_Interp *interp = NULL;