aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/gdbtk.c6
2 files changed, 11 insertions, 0 deletions
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 <meissner@tiktok.cygnus.com>
+
+ * 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 <fnf@cygnus.com>
* 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 <sys/stropts.h>
#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;