diff options
author | Mark Kettenis <kettenis@gnu.org> | 2001-07-23 19:21:57 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2001-07-23 19:21:57 +0000 |
commit | 0200359f12b09d83e4fecfddd1e7a5174ca17e60 (patch) | |
tree | 682eae85004590be68a5b3e24eb63d1eb3532e6b /gdb/config | |
parent | 413eca6f968c5c6321e273b60b453423cf532d9e (diff) | |
download | ppe42-binutils-0200359f12b09d83e4fecfddd1e7a5174ca17e60.tar.gz ppe42-binutils-0200359f12b09d83e4fecfddd1e7a5174ca17e60.zip |
* 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.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/arm/xm-linux.h | 2 | ||||
-rw-r--r-- | gdb/config/i386/xm-i386aix.h | 3 | ||||
-rw-r--r-- | gdb/config/i386/xm-i386sco.h | 3 | ||||
-rw-r--r-- | gdb/config/i386/xm-linux.h | 2 | ||||
-rw-r--r-- | gdb/config/i386/xm-ptx.h | 2 | ||||
-rw-r--r-- | gdb/config/ia64/xm-linux.h | 2 | ||||
-rw-r--r-- | gdb/config/m68k/xm-linux.h | 2 | ||||
-rw-r--r-- | gdb/config/powerpc/xm-linux.h | 2 | ||||
-rw-r--r-- | gdb/config/rs6000/xm-rs6000.h | 4 | ||||
-rw-r--r-- | gdb/config/sparc/xm-linux.h | 2 | ||||
-rw-r--r-- | gdb/config/sparc/xm-sun4sol2.h | 3 | ||||
-rw-r--r-- | gdb/config/xm-sysv4.h | 4 |
12 files changed, 0 insertions, 31 deletions
diff --git a/gdb/config/arm/xm-linux.h b/gdb/config/arm/xm-linux.h index b6c312304d..272d919000 100644 --- a/gdb/config/arm/xm-linux.h +++ b/gdb/config/arm/xm-linux.h @@ -27,8 +27,6 @@ to get the offset in the core file of the register values. */ #define KERNEL_U_ADDR 0x0 -#define NEED_POSIX_SETPGID - /* Need R_OK etc, but USG isn't defined. */ #include <unistd.h> diff --git a/gdb/config/i386/xm-i386aix.h b/gdb/config/i386/xm-i386aix.h index 83d6d59333..3a28c28c45 100644 --- a/gdb/config/i386/xm-i386aix.h +++ b/gdb/config/i386/xm-i386aix.h @@ -29,6 +29,3 @@ #define HAVE_SGTTY #include <limits.h> - -/* 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 7f214fd6d9..920ebbb3c4 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 dd3e280619..ee17ee9657 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 <unistd.h> diff --git a/gdb/config/i386/xm-ptx.h b/gdb/config/i386/xm-ptx.h index 5aa7d84908..ad26a848db 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 diff --git a/gdb/config/ia64/xm-linux.h b/gdb/config/ia64/xm-linux.h index 817c1d3e6b..66ed6e226e 100644 --- a/gdb/config/ia64/xm-linux.h +++ b/gdb/config/ia64/xm-linux.h @@ -27,8 +27,6 @@ to get the offset in the core file of the register values. */ #define KERNEL_U_ADDR 0x0 -#define NEED_POSIX_SETPGID - /* Need R_OK etc, but USG isn't defined. */ #include <unistd.h> diff --git a/gdb/config/m68k/xm-linux.h b/gdb/config/m68k/xm-linux.h index 2c9beb66b0..881eedc88a 100644 --- a/gdb/config/m68k/xm-linux.h +++ b/gdb/config/m68k/xm-linux.h @@ -29,8 +29,6 @@ to get the offset in the core file of the register values. */ #define KERNEL_U_ADDR 0x0 -#define NEED_POSIX_SETPGID - /* Need R_OK etc, but USG isn't defined. */ #include <unistd.h> diff --git a/gdb/config/powerpc/xm-linux.h b/gdb/config/powerpc/xm-linux.h index 1659965824..d7c4b02c7f 100644 --- a/gdb/config/powerpc/xm-linux.h +++ b/gdb/config/powerpc/xm-linux.h @@ -27,8 +27,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ to get the offset in the core file of the register values. */ #define KERNEL_U_ADDR 0x0 -#define NEED_POSIX_SETPGID - /* Need R_OK etc, but USG isn't defined. */ #include <unistd.h> diff --git a/gdb/config/rs6000/xm-rs6000.h b/gdb/config/rs6000/xm-rs6000.h index ba065a200d..31b15974e7 100644 --- a/gdb/config/rs6000/xm-rs6000.h +++ b/gdb/config/rs6000/xm-rs6000.h @@ -64,10 +64,6 @@ #define vfork fork -/* Setpgrp() takes arguments, unlike ordinary Sys V's. */ - -#define SETPGRP_ARGS 1 - /* Signal handler for SIGWINCH `window size changed'. */ #define SIGWINCH_HANDLER aix_resizewindow diff --git a/gdb/config/sparc/xm-linux.h b/gdb/config/sparc/xm-linux.h index ffeba77546..a36738e172 100644 --- a/gdb/config/sparc/xm-linux.h +++ b/gdb/config/sparc/xm-linux.h @@ -30,8 +30,6 @@ #define U_REGS_OFFSET 0 -#define NEED_POSIX_SETPGID - /* Need R_OK etc, but USG isn't defined. */ #include <unistd.h> diff --git a/gdb/config/sparc/xm-sun4sol2.h b/gdb/config/sparc/xm-sun4sol2.h index 44ca760c7a..e8834e89f1 100644 --- a/gdb/config/sparc/xm-sun4sol2.h +++ b/gdb/config/sparc/xm-sun4sol2.h @@ -31,9 +31,6 @@ #undef DO_DEFERRED_STORES #undef CLEAR_DEFERRED_STORES -/* May be needed, may be not? From Pace Willisson's port. FIXME. */ -#define NEED_POSIX_SETPGID - /* solaris doesn't have siginterrupt, though it has sigaction; however, in this case siginterrupt would just be setting the default. */ #define NO_SIGINTERRUPT diff --git a/gdb/config/xm-sysv4.h b/gdb/config/xm-sysv4.h index d5121de464..5e77d15e99 100644 --- a/gdb/config/xm-sysv4.h +++ b/gdb/config/xm-sysv4.h @@ -28,10 +28,6 @@ #define USG -/* Use setpgid(0,0) to run inferior in a separate process group */ - -#define NEED_POSIX_SETPGID - /* We have to include these files now, so that GDB will not make competing definitions in defs.h. */ #include <limits.h> |