From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32653 invoked by alias); 28 Nov 2012 22:06:39 -0000 Received: (qmail 32633 invoked by uid 48); 28 Nov 2012 22:06:39 -0000 From: "poenitz at htwm dot de" To: gdb-prs@sourceware.org Subject: [Bug python/12806] multi-level pretty-printing Date: Wed, 28 Nov 2012 22:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: python X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: poenitz at htwm dot de X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2012-q4/txt/msg00336.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=12806 Andre' Poenitz changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |poenitz at htwm dot de --- Comment #1 from Andre' Poenitz 2012-11-28 22:06:38 UTC --- Another option would be to move over to the "fat script" approach of pretty printing (i.e. "do all in one go, top-down"). In that case the pretty printer for an object can directly and easily decide by itself which real or which artificial children, or grand-children, or completely unrelated data, it would like to print and recursively invoke the "main" pretty print function to get "standard behaviour" for the subitems. This would also solves issues related to missing MI variable updates for items whose pretty print result takes global state or unrelated data into account (see the example give in the thread triggered by http://sourceware.org/ml/gdb-patches/2012-11/msg00027.html). -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.