From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id cuFkOvYCWWRWyQIAWB0awg (envelope-from ) for ; Mon, 08 May 2023 10:11:02 -0400 Received: by simark.ca (Postfix, from userid 112) id DB7001E11D; Mon, 8 May 2023 10:11:02 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=Hjs6lhK5; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 424C91E114 for ; Mon, 8 May 2023 10:11:02 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id EFB0D385772D for ; Mon, 8 May 2023 14:10:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EFB0D385772D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1683555059; bh=XxHRD0MZMiEf7+DhwU8vpQCFR0VQo0mF4YxCZ1TCdEU=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=Hjs6lhK53KP+LnB3FOnqx1wX6plcfFen01Hw8Nuh4XLB0IDUyrxD6faL/OcDz8h56 LXljb1cGHESLsRKfBbQRzG0zctmwjJ0CoF9D5a9+ggQtpuQP0sw2m88EdHE3ddMdij aLYrDMJ7PgjacBwj1opyh2Xig+Ncmp4Kq8tZWydI= Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id 9B04D3858C2C for ; Mon, 8 May 2023 14:10:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9B04D3858C2C Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id D08B41FF40; Mon, 8 May 2023 14:10:38 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 819491346B; Mon, 8 May 2023 14:10:38 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id IUlNG94CWWSpAwAAMHmgww (envelope-from ); Mon, 08 May 2023 14:10:38 +0000 To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH 0/3] [gdb/tui] Add tui border-kind active-ascii Date: Mon, 8 May 2023 16:10:33 +0200 Message-Id: <20230508141036.22723-1-tdevries@suse.de> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Tom de Vries via Gdb-patches Reply-To: Tom de Vries Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" I wrote a patch that adds a new tui border-kind: active-ascii. That patch makes changes in function tui_update_variables, and I ended up writing a patch that simplifies it by factoring out some functions, to make subsequent changes in the function easier. While factoring out one of the functions, I noticed a pre-existing buglet in one of them, so I wrote a separate patch to fix this. Tested on x86_64-linux, by rebuilding and running test-cases gdb.tui/*.exp and gdb.python/tui*.exp for each patch. Tom de Vries (3): [gdb/tui] Make tui_update_variables more readable [gdb/tui] Fix buglet in set_border_kind_item [gdb/tui] Add tui border-kind active-ascii gdb/doc/gdb.texinfo | 4 + gdb/testsuite/gdb.tui/tui-focus.exp | 7 +- gdb/testsuite/lib/tuiterm.exp | 49 +++++----- gdb/tui/tui-win.c | 139 +++++++++++++++++++++------- gdb/tui/tui-win.h | 6 ++ gdb/tui/tui-wingeneral.c | 17 +++- 6 files changed, 163 insertions(+), 59 deletions(-) base-commit: c239019c9f649867c686204d1ac8947a963784d8 -- 2.35.3