From 0200359f12b09d83e4fecfddd1e7a5174ca17e60 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Mon, 23 Jul 2001 19:21:57 +0000 Subject: * configure.in (AC_CHECK_FUNCS): Add setpggrp. (AC_FUNC_SETPGRP): Add. * aclocal.m4, configure, config.in: Regenerated. * inflow.c (gdb_setpgid): Get rid of NEED_POSIX_SETPGID and SETPGRP_ARGS. Always use setpgid if it is available, fall back on setpgrp if it isn't. Use SETPGRP_VOID (defined by autoconf) to distinguish between the two setpgrp flavours. * config/xm-sysv4.h, config/arm/xm-linux.h, config/i386/xm-i386aix.h, config/i386/xm-sco.h, config/i386/xm-linux.h, config/i386/xm-ptx.h, config/m68k/xm-linux.h, config/powerpc/xm-linux.h, config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h, config/ia64/xm-linux.h (NEED_POSIX_SETPGID): Remove. * config/rs6000/xm-rs6000.h (SETPGRP_ARGS): Remove. --- gdb/config/i386/xm-i386aix.h | 3 --- gdb/config/i386/xm-i386sco.h | 3 --- gdb/config/i386/xm-linux.h | 2 -- gdb/config/i386/xm-ptx.h | 2 -- 4 files changed, 10 deletions(-) (limited to 'gdb/config/i386') diff --git a/gdb/config/i386/xm-i386aix.h b/gdb/config/i386/xm-i386aix.h index 83d6d59..3a28c28 100644 --- a/gdb/config/i386/xm-i386aix.h +++ b/gdb/config/i386/xm-i386aix.h @@ -29,6 +29,3 @@ #define HAVE_SGTTY #include - -/* Use setpgid instead of setpgrp on AIX */ -#define NEED_POSIX_SETPGID diff --git a/gdb/config/i386/xm-i386sco.h b/gdb/config/i386/xm-i386sco.h index 7f214fd..920ebbb 100644 --- a/gdb/config/i386/xm-i386sco.h +++ b/gdb/config/i386/xm-i386sco.h @@ -38,6 +38,3 @@ So we use dots instead. This item must be coordinated with G++. */ #undef CPLUS_MARKER #define CPLUS_MARKER '.' - -/* Use setpgid instead of setpgrp on SCO */ -#define NEED_POSIX_SETPGID diff --git a/gdb/config/i386/xm-linux.h b/gdb/config/i386/xm-linux.h index dd3e280..ee17ee9 100644 --- a/gdb/config/i386/xm-linux.h +++ b/gdb/config/i386/xm-linux.h @@ -26,8 +26,6 @@ #define HOST_LONG_DOUBLE_FORMAT &floatformat_i387_ext -#define NEED_POSIX_SETPGID - /* Need R_OK etc, but USG isn't defined. */ #include diff --git a/gdb/config/i386/xm-ptx.h b/gdb/config/i386/xm-ptx.h index 5aa7d84..ad26a84 100644 --- a/gdb/config/i386/xm-ptx.h +++ b/gdb/config/i386/xm-ptx.h @@ -35,8 +35,6 @@ #define HAVE_TERMIOS #define USG -#define NEED_POSIX_SETPGID - #define USE_O_NOCTTY #define HOST_BYTE_ORDER LITTLE_ENDIAN -- cgit v1.1