From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 114877 invoked by alias); 11 Apr 2019 21:02:22 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 114869 invoked by uid 89); 11 Apr 2019 21:02:22 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-7.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy=HTo:U*tom, wrongly, HContent-Transfer-Encoding:8bit X-HELO: mailsec101.isp.belgacom.be Received: from mailsec101.isp.belgacom.be (HELO mailsec101.isp.belgacom.be) (195.238.20.97) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 11 Apr 2019 21:02:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skynet.be; i=@skynet.be; q=dns/txt; s=securemail; t=1555016538; x=1586552538; h=message-id:subject:from:to:cc:date:in-reply-to: references:mime-version:content-transfer-encoding; bh=/1Dgi7jOFesN0tEu+BmaFyi4eErTkoZjfjeGPMti2Mc=; b=ThO0/rmx7uF1KOCWAiELHH14mVDmo3VYrJ1ekDe5cRQ/UXuhqoTO2CK4 D5qlyR3fNxPQI/pXkEhMLx4cWB48Lw==; Received: from 212.135-131-109.adsl-dyn.isp.belgacom.be (HELO md) ([109.131.135.212]) by relay.skynet.be with ESMTP/TLS/AES256-GCM-SHA384; 11 Apr 2019 23:01:55 +0200 Message-ID: <1555016515.1446.10.camel@skynet.be> Subject: Re: Still some style problems with 8.3 branch From: Philippe Waroquiers To: Tom Tromey Cc: Eli Zaretskii , gdb-patches@sourceware.org Date: Thu, 11 Apr 2019 21:02:00 -0000 In-Reply-To: <874l748i1d.fsf@tromey.com> References: <1553942211.1854.2.camel@skynet.be> <835zrzi0d7.fsf@gnu.org> <83wokbc5lk.fsf@gnu.org> <1554631684.1854.17.camel@skynet.be> <874l748i1d.fsf@tromey.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2019-04/txt/msg00211.txt.bz2 On Thu, 2019-04-11 at 13:21 -0600, Tom Tromey wrote: > > > > > > "Philippe" == Philippe Waroquiers writes: > > Philippe> It works better with the patch, but even with the patch, > Philippe> I still encountered one case where the style was not > Philippe> the expected style after the continuation prompt. > > I tried this and couldn't reproduce, but... > > Philippe> To reproduce (in a 80x24 terminal): > Philippe> ./gdb/gdb ./gdb/gdb > Philippe> break cli_ui_out::do_field_string > Philippe> run > gdb/testsuite/outputs/gdb.ada/info_auto_lang/proc_in_ada > Philippe>   (gdb) b proc_in_c > Philippe>   (gdb) run > Philippe> info func error > Philippe> #### then type several times return at the page prompt. > Philippe> #### At some point in time, you see > > ...I may not fully understand the instructions - the breakpoint on > do_field_string seems to interfere with getting paging to work in the > inferior gdb. Maybe what is unclear is what to give to the top-gdb, and what to give to the inferior gdb. You should be able to reproduce it by just typing one after each other the following lines. I have put before the info to type which process is getting the input: shell: ./gdb/gdb ./gdb/gdb top-gdb: break cli_ui_out::do_field_string top-gdb: run gdb/testsuite/outputs/gdb.ada/info_auto_lang/proc_in_ada gdb: b proc_in_c gdb: run top-gdb: info func error .... and then a bunch of return, till an output line is wrongly styled in black, just after a prompt for continue. Philippe