From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 50392 invoked by alias); 29 Jul 2019 19:32:41 -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 50384 invoked by uid 89); 29 Jul 2019 19:32:41 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,SPF_FAIL autolearn=no version=3.3.1 spammy=H*r:TLS1.0, Suggestions, HTo:U*gdb, H*r:sk:DHE_RSA X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (209.51.188.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 29 Jul 2019 19:32:39 +0000 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hsBNu-00011w-8s for gdb@sourceware.org; Mon, 29 Jul 2019 15:32:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35550) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hsBNt-0005qp-Us for gdb@gnu.org; Mon, 29 Jul 2019 15:32:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsBNt-0000yX-1H for gdb@gnu.org; Mon, 29 Jul 2019 15:32:37 -0400 Received: from mout.gmx.net ([212.227.17.22]:48857) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hsBNs-0000tM-Hu for gdb@gnu.org; Mon, 29 Jul 2019 15:32:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1564428750; bh=RjBTu6FxXWGXP/15x2B6156/H54BNfrmRLIFhO6kZm4=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=QsWwqaea/hSPITTsklGuxh/7MdPd8mRjXJdeOdz0WJnSUC1GuE5RD7jgiFEW9NbyA lFtMp0EdJp/9oYMEJXq1QpSSZRwt4wRZcKwaJgCI/3PcsiQhVqTNL/Me9y+sshHSJ7 bQ93gAcOEocxuj7TPe4tzljlVVtaLV03jfLiqGnA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.189.22] ([84.131.117.188]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MVIva-1hsiH23Dck-00Yg0V; Mon, 29 Jul 2019 21:32:30 +0200 Subject: Re: using pipe with command To: Philippe Waroquiers , gdb@gnu.org References: <1564352023.1435.1.camel@skynet.be> From: Christof Warlich Message-ID: <6a8daa7a-f01f-949e-65ea-b047a0c73892@gmx.de> Date: Mon, 29 Jul 2019 19:32:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <1564352023.1435.1.camel@skynet.be> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.22 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-SW-Source: 2019-07/txt/msg00023.txt.bz2 Am 29.07.19 um 00:13 schrieb Philippe Waroquiers: > I have not (yet) understood how GDB handles stdout > redirection when tui is enabled, and so I have no idea yet how > to fix that. > > Redirecting to a string or to a file/pipe probably should also > redirect tui_old_uiout. > Or possibly tui_on_user_selected_context_changed should do > some redirections like mi_user_selected_context_changed ? > > Suggestions welcome :) > > Philippe Many thanks for looking into this issue. I'm definitely not of much use w.r.t. some decent suggestions but I'd be glad if I could help otherwise.