This is the mail archive of the
mailing list for the Archer project.
Re: pretty-printing update
Tom> I'm thinking of changing all this code to work something like this:
I pushed these items today:
Tom> * A varobj's pretty-printer will be set when the varobj is updated,
Tom> based on the type of the expression.
Tom> * We'll have both gdb.mi_pretty_printers and gdb.cli_pretty_printers
Tom> to manage the mappings.
Tom> * Allow the Python 'children' method to return an iterator.
I also made it so the CLI code can use an MI-style class... it will
call the to_string or children method. So, now I can write a single
python class which is used both for MI and the CLI.
I got rid of the new MI commands related to pretty-printing.
We can restore them if they are really needed.