This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/12806] multi-level pretty-printing
- From: "poenitz at htwm dot de" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 28 Nov 2012 22:06:38 +0000
- Subject: [Bug python/12806] multi-level pretty-printing
- Auto-submitted: auto-generated
- References: <bug-12806-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12806
Andre' Poenitz <poenitz at htwm dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |poenitz at htwm dot de
--- Comment #1 from Andre' Poenitz <poenitz at htwm dot de> 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.