This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH, RFC]: Get rid of NEED_POSIX_SETPGID & SETPGRP_ARGS
- To: Mark Kettenis <kettenis at science dot uva dot nl>
- Subject: Re: [PATCH, RFC]: Get rid of NEED_POSIX_SETPGID & SETPGRP_ARGS
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 11 Jul 2001 00:25:40 -0400
- Cc: gdb-patches at sources dot redhat dot com
- References: <200107092126.f69LQBG06611@debye.wins.uva.nl>
Definitly a good move.
Andrew
> Here is a patch that gets rid of two host-specific macros and replaces
> them with autoconf checks:
>
> * I don't think we need NEED_POSIX_SETPGID. I think we should always
> prefer setpgid over setpgrp. There is no point for GDB to become a
> session leader (which setpgrp () might try to accomplish), we just
> want to have it in its own process group.
>
> * SETPGRP_VOID is what autoconf calls the opposite of SETPGRP_ARGS.
>
> inflow.c has no maintainer, so if I don't hear any objections before
> saturday july 21st, I'll check this in and remove all traces of
> NEED_POSIX_SETPGID and SETPGRP_ARGS.