From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31137 invoked by alias); 10 Mar 2017 18:46:42 -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 30661 invoked by uid 89); 10 Mar 2017 18:46:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM autolearn=no version=3.3.2 spammy=dumb, H*MI:sk:4f9a4e5, H*i:sk:4f9a4e5, H*f:sk:4f9a4e5 X-HELO: mail-wr0-f180.google.com Received: from mail-wr0-f180.google.com (HELO mail-wr0-f180.google.com) (209.85.128.180) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 10 Mar 2017 18:46:41 +0000 Received: by mail-wr0-f180.google.com with SMTP id l37so70377383wrc.1 for ; Fri, 10 Mar 2017 10:46:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=lQ9WcPPueZo8AuAI26CiMgmQ2H7vs8JZNCGPIfaNkIk=; b=fiIEZ2+rz8+d2651vNKZwF3rWCMhUFianc1/PpTAxxBDAxY0xNo3CS4oiSZSOqKr40 knFOw7oqWjJeDlXrIbEkAZULkqvp+XwXCWkTFDMhcqtBiCyhk8QTcW6Zh6o8WBvlgLk0 YGd7S/DcNGZnTbLJm4gLOdyfFgwn5zNWrGOk5umk22xz715+ewb6+4ct9L2bqkzm2VKf zjZcqISm8sEjPqqk/640xHQpaPABJJgXTZaexYQEp9Aj87mBudqcbd6dzUqbbAx4+QkC URizjQc+/cewMeE1eWf3pdCdw59HK8x6lSoThhSy9TxNA1GqddM7UmjUMLFU18pKzHIX ZI3g== X-Gm-Message-State: AMke39lKtOT+fI6B9m2maSvWa9OEPUxdaj2rfiAPMmk7M3ckr/+HeGCgNnz8N416+1318jlo X-Received: by 10.223.163.70 with SMTP id d6mr16553620wrb.71.1489171599658; Fri, 10 Mar 2017 10:46:39 -0800 (PST) Received: from host1.jankratochvil.net (host1.jankratochvil.net. [2a02:2b88:2:1::3b57:1]) by smtp.gmail.com with ESMTPSA id c2sm13937891wre.55.2017.03.10.10.46.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 Mar 2017 10:46:39 -0800 (PST) From: Jan Kratochvil X-Google-Original-From: Jan Kratochvil Date: Fri, 10 Mar 2017 18:46:00 -0000 To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [pushed] Fix PR tui/21216: TUI line breaks regression Message-ID: <20170310184637.GA20146@host1.jankratochvil.net> References: <1488932352-10885-3-git-send-email-palves@redhat.com> <20170309230359.GA503@host1.jankratochvil.net> <20170310125946.GA508@host1.jankratochvil.net> <20170310140450.GA5206@host1.jankratochvil.net> <4593d5aa-00c7-75a9-9fc6-b65bddad0c0a@redhat.com> <20170310172744.GA7009@host1.jankratochvil.net> <4f9a4e59-ccc8-9d6e-7ce2-f030f6efe184@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4f9a4e59-ccc8-9d6e-7ce2-f030f6efe184@redhat.com> User-Agent: Mutt/1.7.1 (2016-10-04) X-SW-Source: 2017-03/txt/msg00144.txt.bz2 On Fri, 10 Mar 2017 19:17:20 +0100, Pedro Alves wrote: > How you love pulling things out of context. Because everything is interconnected. > Whatever testing you think would be appropriate for testing TUI/ncurses > _output_ in your project, we can consider for GDB too. If you have ideas > for that, please share them. I do not think a front end UI really needs any testsuite as it is a trivial code (in a proper language and with proper API - not MI; MI is not API and not proper). That is not the case of a front end intertwingled into GDB core. Besides that maybe one could fix a TUI frontend for the testsuite purposes. I have no idea how much usable ncurses is with "dumb": $ TERM=dumb gdb -tui Cannot enable the TUI: terminal doesn't support cursor addressing [TERM=dumb] > > and you were right, there are other debuggers which > > already do it the right way. > > I don't think I ever said such a thing. You said something different although IMO with the same practical result. This text from an internal list but I do not find that too secret: On Fri, 26 Jun 2015 18:44:11 +0200, Pedro Alves wrote: # Basically you're saying we should rewrite the whole CLI from scratch. # And it basically seems like writing a _different_ debugger from # scratch to me. Jan