From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7E0083858D37; Sat, 16 Dec 2023 08:31:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7E0083858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1702715473; bh=/i7VRZwOia8WxRfV0jHSVTiCvbf9PlhexzMDr6/uC7M=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Z8BhFSbCW6+cSfXEr6UViINVNBV2jTXLSTyeM70/QAxgX9Bg9r8zXpx9VZ8/A3PCF ZNMnc+rOCWK86Wi/iQ0Hw+6ULutqEMqIEOXxHRXJWfyVl8afy0rWqiTlBIp6kFeYbv YN6jQC6um+rXZxv61pRSPGZ9lYW6NlP2XkbFPOPU= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug tui/28600] "layout reg" nor "kill" refresh the TUI registers window Date: Sat, 16 Dec 2023 08:31:07 +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: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- 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=3D28600 --- Comment #2 from Sourceware Commits --- The master branch has been updated by Tom de Vries : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D86a6f9a9fb11= 2614c15cc17630b29fbc62d3bca5 commit 86a6f9a9fb112614c15cc17630b29fbc62d3bca5 Author: Tom de Vries Date: Sat Dec 16 09:31:29 2023 +0100 [gdb/tui] Show regs when switching to regs layout When starting gdb in CLI mode, running to main and switching into the T= UI regs layout: ... $ gdb -q a.out -ex start -ex "layout regs" ... we get: ... +---------------------------------+ | | | [ Register Values Unavailable ] | | | +---------------------------------+ ... Fix this by handling this case in tui_data_window::rerender. Tested on x86_64-linux. Approved-By: Tom Tromey PR tui/28600 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D28600 --=20 You are receiving this mail because: You are on the CC list for the bug.=