This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Fix GDB's handling of the inferior controlling terminal
- From: Andreas Schwab <schwab at suse dot de>
- To: Nick Roberts <nickrob at snap dot net dot nz>
- Cc: Thiago Jung Bauermann <bauerman at br dot ibm dot com>, gdb-patches <gdb-patches at sourceware dot org>
- Date: Wed, 12 Mar 2008 11:22:02 +0100
- Subject: Re: [RFA] Fix GDB's handling of the inferior controlling terminal
- References: <18391.28412.642589.598752@kahikatea.snap.net.nz>
Nick Roberts <nickrob@snap.net.nz> writes:
> I like this change but under what conditions can GDB set the inferior's
> controlling terminal?
To set the controlling terminal you must be a session leader and don't
have a controlling terminal yet, and the terminal must not be the
controlling terminal of another session.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."