From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4262 invoked by alias); 11 Mar 2018 22:57:02 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 4252 invoked by uid 89); 11 Mar 2018 22:57:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=HContent-Transfer-Encoding:8bit X-HELO: mail-out.m-online.net Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 11 Mar 2018 22:56:59 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3zzxMD49yfz1qvTL; Sun, 11 Mar 2018 23:56:56 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3zzxMD3rL1z1sQx9; Sun, 11 Mar 2018 23:56:56 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id ovMEPDDGPsQe; Sun, 11 Mar 2018 23:56:55 +0100 (CET) X-Auth-Info: lV78J+VjeU16efLKUmZnOBYUP3DlXX3pl2d5YybqXzDKoeXwGURkdXr8rZ2sPoMU Received: from localhost (ppp-188-174-146-132.dynamic.mnet-online.de [188.174.146.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sun, 11 Mar 2018 23:56:55 +0100 (CET) Received: by localhost (Postfix, from userid 1000) id 17EA72C4C01; Sun, 11 Mar 2018 23:56:55 +0100 (CET) From: Andreas Schwab To: Simon Marchi Cc: LE GARREC Vincent , gdb@sourceware.org Subject: Re: Run multiple parallel instances of gdb References: <4b04209db0308576e68320a5d22181e4@polymtl.ca> X-Yow: .. I wonder if I ought to tell them about my PREVIOUS LIFE as a COMPLETE STRANGER? Date: Sun, 11 Mar 2018 22:57:00 -0000 In-Reply-To: <4b04209db0308576e68320a5d22181e4@polymtl.ca> (Simon Marchi's message of "Sun, 11 Mar 2018 16:54:20 -0400") Message-ID: <87h8pm2pc8.fsf@linux-m68k.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2018-03/txt/msg00030.txt.bz2 On Mär 11 2018, Simon Marchi wrote: > Do you get a "suspended (tty output)" message? If so, what you have is a > background process trying to output on the terminal while the terminal has > the "tostop" flag set. A simpler case to reproduce it is: > > $ gdb -batch -ex run --args /bin/echo salut & > [1] 28223 > $ > [1] + 28223 suspended (tty output) gdb -q -batch -ex run --args > /bin/echo salut > > I don't understand why though, because my terminal does not have "tostop" > enabled: tcsetattr ignores the tostop setting. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."