From 8b3f9ed645ef309ac4f784157aafd3ccd228ba37 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Fri, 5 Apr 1996 18:27:08 +0000 Subject: [PATCH] Undef SIOCSPGRP if on Linux --- gdb/ChangeLog | 5 +++++ gdb/gdbtk.c | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2c628ac..dc6ff49 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 31903f2..75108ac 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; -- 2.7.4