From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2145 invoked by alias); 26 Jul 2016 18:43:19 -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 2135 invoked by uid 89); 26 Jul 2016 18:43:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=H*p:D*net, H*F:U*bob X-HELO: mail-pa0-f52.google.com Received: from mail-pa0-f52.google.com (HELO mail-pa0-f52.google.com) (209.85.220.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 26 Jul 2016 18:43:08 +0000 Received: by mail-pa0-f52.google.com with SMTP id ks6so2217026pab.0 for ; Tue, 26 Jul 2016 11:43:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=prWkHm9/ojsgTZhMpcWoMm/7qm8iFB7oiHpt08FBVgM=; b=XO7vcmTcyiZE3OZlxLfeYO6gIqfOm+kxDiFjJD90o8JgcfJPgbmaQRwztjlEeJ5LGT d2nw/9zfBvhFLfoRcJIet0OqYQDg0rHwVFsyT6JwbqtKPAS7BIIit0XoLLaiAMhdSbxS A8g87mUxaO5wywAxe+4lTtLjv674NlmkYVNY/29S9QPYD+CIpuEFnu7AU8iusqXS8vh/ PjBTlZVXd0HpGoGZ3rGOM+p6ThjDi0w+i1g2tpXQC0RIwgnKy9q9wfREY/dg6FnZX6cs 8fIvMcPxeaM9OA2XocweFFlN+RUorFXEYxoY8JM1f/qsvUc/iBmNL8j+EYmf459ulC4t +GBQ== X-Gm-Message-State: AEkoouv3ITNPjR7efatgMC8OtFRe2GrE/Jm0NGzkA41WEXkp5xkYAemUaG58DdOXOhcgfA== X-Received: by 10.67.3.164 with SMTP id bx4mr42514724pad.9.1469558586404; Tue, 26 Jul 2016 11:43:06 -0700 (PDT) Received: from xubuntu.brasko.net (ip70-181-32-92.ri.ri.cox.net. [70.181.32.92]) by smtp.gmail.com with ESMTPSA id 5sm3154598pac.34.2016.07.26.11.43.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Jul 2016 11:43:05 -0700 (PDT) Date: Tue, 26 Jul 2016 18:43:00 -0000 From: Bob Rossi To: Marc Khouzam Cc: Simon Marchi , Pedro Alves , "gdb@sourceware.org" Subject: Re: Is there a way to unset inferior-tty? Message-ID: <20160726184303.GB989@xubuntu.brasko.net> References: <302246af-a394-4a76-5223-5cac924bda9a@redhat.com> <9560791fd070c79f7ab54e5e7b63d433@simark.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes X-SW-Source: 2016-07/txt/msg00029.txt.bz2 On Sat, Jul 02, 2016 at 02:04:39PM +0000, Marc Khouzam wrote: > > > I think this should just be fixed to work. > > > > > > The fix should be very similar to this: > > > > > > > > > https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=811a659a779fdf93293fe1105d99e9db171a8b68 > > > > > > Thanks, > > > Pedro Alves > > > > Hi Marc, > > > > Here's a patch. If you like it I'll submit it to gdb-patches with > > ChangeLog and all. > > Thanks! Might as well submit it. > > In the end I moved to a more complete solution for eclipse. Right > after an inferior starts, eclipse will reset the tty to a new and > valid value; that way, if the user does a 'run', the tty will already > be properly set _and_ will direct inferior output to a valid eclipse > console. I do the same thing in CGDB. Thanks, Bob Rossi