move ada_val_print_array down within other ada_val_print* functions
authorJoel Brobecker <brobecker@adacore.com>
Thu, 19 Dec 2013 15:43:57 +0000 (19:43 +0400)
committerJoel Brobecker <brobecker@adacore.com>
Tue, 7 Jan 2014 04:17:39 +0000 (08:17 +0400)
commit4eb27a304c5943962ba1afa90b6eaa6eb6b25a74
tree0a35d69021416909d878cee84cde47ea344cfea5
parent34b27950541eaf717bd02b31d460bab2edfbbbe6
move ada_val_print_array down within other ada_val_print* functions

This patch moves ada_val_print_array to group it with the other
ada_val_print_* function which are being called by ada_val_print_1.
Since this function is in the same situation, it is more logical
to move it within that group.

It also rationalizes the function's prototype to match the prototype
of the other ada_val_print_* routines.

gdb/ChangeLog:

        * ada-valprint.c (ada_val_print_array): Move implementation
        down.  Rename parameter "offset" and "val" into "offset_aligned"
        and "original_value" respectively.  Add parameter "offset".
gdb/ChangeLog
gdb/ada-valprint.c