From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 83DB23858D37; Thu, 31 Aug 2023 16:57:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 83DB23858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1693501074; bh=CSz2z+gE3znqo35U+Q0e6PyVbcT2TggIuzpcywrBwgI=; h=From:To:Subject:Date:From; b=J6qAaVdhPvmbsKl2NI5f8xC90HGUSBO9jFPYQz2mbUdD6TLyxuO8Pa2RZ02UzrSwR zrRvT/Ix7Qdvbni8AQs4Hx3CpOmL1pv1++PjT5gIgiUMTsKreoK1ZAr8SiO6y0V9PD 2tmKysxcIb6dYjH/osFS2EI72vLT9kW2QjsYqSp8= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug python/30816] New: [meta] Pretty-printing v2 Date: Thu, 31 Aug 2023 16:57:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: python X-Bugzilla-Version: HEAD 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: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D30816 Bug ID: 30816 Summary: [meta] Pretty-printing v2 Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: python Assignee: unassigned at sourceware dot org Reporter: tromey at sourceware dot org Target Milestone: --- The current pretty-printer API is somewhat simple -- too simple. Over the years a number of desirable additions have been identified. This bug is a meta-bug to track all of these. Some came up in the context of DAP: https://sourceware.org/pipermail/gdb-patches/2023-June/200503.html These aren't too different from some varobj desires: it would be nice to be able to query a printer to get an expression that would evaluate to to the particular child. The main issue with changing pretty-printers is that we never advertised that we may extend the API. So one main goal of v2 should be to fix this -- not just for the additions we need now, but also for any future changes. --=20 You are receiving this mail because: You are on the CC list for the bug.=