This is the mail archive of the gdb-patches@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]

Re: [commit/Ada] General ada-valprint improvements


>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

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

Joel> Sure!

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

Thanks.

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

I have an ancient branch where I took a stab at removing val_print.
It's a reasonably large patch and still doesn't even compile:

 30 files changed, 262 insertions(+), 486 deletions(-)

It's quite a big job and due to the way that most languages wind up
deferring to the C printer, I didn't see a nice way to do it
incrementally.

Tom


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