This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug python/12806] multi-level pretty-printing


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]