This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit/Ada] General ada-valprint improvements
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 8 Jan 2014 15:35:17 +0400
- Subject: Re: [commit/Ada] General ada-valprint improvements
- Authentication-results: sourceware.org; auth=none
- References: <1389068515-10129-1-git-send-email-brobecker at adacore dot com> <87r48jhfa8 dot fsf at fleche dot redhat dot com>
> 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