[commit/Ada] General ada-valprint improvements

Joel Brobecker brobecker@adacore.com
Wed Jan 8 11:35:00 GMT 2014


> I'm curious to know what differences you are thinking of.

Sure!

valprint.c:val_print does a few things that value_print does not.
For instance, it handles TYPE_STUB, options->summary, etc.

On the Ada side, it's ada_value_print that does a few things
that ada_val_print does not. For instance, it prints some information
about the entity's type before printing the entity's value.

For Ada, I think untangling the extra stuff in ada_value_print
could be done by simply splitting it in two. For val_print,
I haven't even really looked at it yet. Just one of those many
things at the back of my mind.

-- 
Joel



More information about the Gdb-patches mailing list