From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 58113 invoked by alias); 30 Mar 2019 10:36:55 -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 58096 invoked by uid 89); 30 Mar 2019 10:36:55 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-8.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,URIBL_BLOCKED autolearn=ham version=3.3.1 spammy=paging, RET, HContent-Transfer-Encoding:8bit X-HELO: mailsec111.isp.belgacom.be Received: from mailsec111.isp.belgacom.be (HELO mailsec111.isp.belgacom.be) (195.238.20.107) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 30 Mar 2019 10:36:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skynet.be; i=@skynet.be; q=dns/txt; s=securemail; t=1553942214; x=1585478214; h=message-id:subject:from:to:date:mime-version: content-transfer-encoding; bh=cqE6NbOIam10mpDzp+ZETM0MtKw+vvZIf7jAaQf1QO4=; b=nP3SBVlrO3zdrKYJWQyL0QVdWxVDAcndikYpmvNYvzcxj+E+3p3XMey6 YcN3nQ9voYyEFHkQZ38RdAE9jVCiLQ==; 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; 30 Mar 2019 11:36:52 +0100 Message-ID: <1553942211.1854.2.camel@skynet.be> Subject: Still some style problems with 8.3 branch From: Philippe Waroquiers To: gdb-patches@sourceware.org Date: Sat, 30 Mar 2019 10:36:00 -0000 Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2019-03/txt/msg00761.txt.bz2 I just encountered a styling problem with the 8.3 branch (also on the 8.4). Test executed with GNU gdb (GDB) 8.2.91.20190330-git To reproduce: ./gdb/gdb ./gdb/gdb info sources and then type return successively, to see each page. After the initial page, the first line contains a file that is partially printed in green color, partially printed in black color, e.g., in the below given output. The line that starts with '--Type ' is in black, as expected. Then the next line starts in green as expected. But only '/bd/home/ph' is in green. We then have 'ilippe/gdb/git/relbranch/gdb/minsyms.h,' in black. Then all is normal till the next page. So, that seems to point at some remaining problem in the buffering/output of style/color codes. Philippe ... /usr/include/regex.h, /bd/home/philippe/gdb/git/relbranch/gdb/gdb_regex.h, /bd/home/philippe/gdb/git/relbranch/gdb/command.h,  /bd/home/philippe/gdb/git/relbranch/gdb/cli/cli-decode.h, /bd/home/philippe/gdb/git/relbranch/gdb/completer.h, /bd/home/philippe/gdb/git/relbranch/gdb/block.h,  --Type for more, q to quit, c to continue without paging-- /bd/home/philippe/gdb/git/relbranch/gdb/minsyms.h, /bd/home/philippe/gdb/git/relbranch/gdb/ax.h, /bd/home/philippe/gdb/git/relbranch/gdb/probe.h,  /bd/home/philippe/gdb/git/relbranch/gdb/language.h, /bd/home/philippe/gdb/git/relbranch/gdb/expression.h, /bd/home/philippe/gdb/git/relbranch/gdb/frame.h,  ...