aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1996-04-05 18:27:08 +0000
committerMichael Meissner <gnu@the-meissners.org>1996-04-05 18:27:08 +0000
commit8b3f9ed645ef309ac4f784157aafd3ccd228ba37 (patch)
tree60a4d22a3f97908a55c40745d476d03ed72d3a0b /gdb
parentd981c0aa7a6e3bd9d7b187320fb199c85774e649 (diff)
downloadgdb-8b3f9ed645ef309ac4f784157aafd3ccd228ba37.zip
gdb-8b3f9ed645ef309ac4f784157aafd3ccd228ba37.tar.gz
gdb-8b3f9ed645ef309ac4f784157aafd3ccd228ba37.tar.bz2
Undef SIOCSPGRP if on Linux
Diffstat (limited to 'gdb')
-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;