From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 434C93857C4F; Tue, 28 Mar 2023 18:36:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 434C93857C4F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1680028597; bh=LPfzRVbxESAH45751GtNSPDuOUqPgafXyg4J29ZkuvA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=o9zCodowM+DhzBxSomFxibcmHFqSMU0F9nV9il1gUC/vW8eKJ04EJUusGGfk2l6Kt a/u/eYqz42ZyRYl09hQ0UprHjainjuw4vTKpfHCfHgtV3/1yHMPKSxEVRsimbkWRZI oXTJNxQeA6IyD8XOFHJcfYJWsF4vhmjU3HlLbY8o= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug mi/11335] -var-evaluate-expression should return the pretty printer's to_string result Date: Tue, 28 Mar 2023 18:36:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: mi X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey at sourceware dot org X-Bugzilla-Target-Milestone: 7.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=3D11335 --- Comment #12 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Tom Tromey : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D3e8154778baf= 4df222d95e43a2c8fefdb17305f7 commit 3e8154778baf4df222d95e43a2c8fefdb17305f7 Author: Tom Tromey Date: Thu May 26 08:33:05 2022 -0600 Put pretty-printers to_string output in varobj result PR mi/11335 points out that an MI varobj will not display the result of a pretty-printer's "to_string" method. Instead, it always shows "{...}". This does not seem very useful, and there have been multiple complaints about it over the years. This patch changes varobj to emit this string when possible, and updates the test suite. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D11335 --=20 You are receiving this mail because: You are on the CC list for the bug.=