From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 983E23858D20; Thu, 28 Mar 2024 22:26:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 983E23858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1711664818; bh=CIa7wuoU1gUhiUlU51UfuKA7yX1lTi76fEbsJqnLuC0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BGKsLueH++HmuaSIuszRqcMgpJA8SGBeiUez0ZY/+Z6L9g0DPSR7NYL5P7kRsSrS8 g1nL1rjNkgYCYwVufqMABRN30Q9okpWD++wPtHLQBaOQDW+OPZywSDArPLnMusfadO 5tSNPnZDoVRj9Jv+w1aPHZ6fNz1QKFWJE4nl16us= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug tui/31522] TUI misses highlight after run to main Date: Thu, 28 Mar 2024 22:26:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: tui X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey at sourceware dot org X-Bugzilla-Target-Milestone: 15.1 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31522 --- Comment #14 from Tom Tromey --- (In reply to Pedro Alves from comment #3) > > This seems reasonable to me, but maybe it is a change if > > you exit the TUI and then re-enter it in some scenario. > > Personally I'm not too concerned about this. >=20 > I do that frequently with c-x,a. I'll be debugging gdb, and > stepping/nexting with the TUI enabled, then decide I'm at the right spot = the > program that I want to inspect variables or run a command [...] What I meant here is that I was wondering if there are cases where "tui disable" + "tui enable" would preserve the state of the source window, even if there were changes (like stepping, whatever) in between. I tend to think that it is fine for "tui enable" to just recenter the selected frame's line -- but is that ok with you? --=20 You are receiving this mail because: You are on the CC list for the bug.=