aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2013-12-19 16:30:43 +0400
committerJoel Brobecker <brobecker@adacore.com>2014-01-07 08:17:38 +0400
commit8004dfd1cf9caaf8a65236ebe6a4a4b3f544ab7a (patch)
tree2c7141e3ccbc02e17f4c31256ac8797cdd36c745 /configure.ac
parent760a2db02f0d160c7990c52903bd9aaa796bd815 (diff)
downloadgdb-8004dfd1cf9caaf8a65236ebe6a4a4b3f544ab7a.zip
gdb-8004dfd1cf9caaf8a65236ebe6a4a4b3f544ab7a.tar.gz
gdb-8004dfd1cf9caaf8a65236ebe6a4a4b3f544ab7a.tar.bz2
Split ada_val_print_1 into smaller functions
The idea of this patch is that it's hard to have a global view of ada_val_print_1 because its body spans over too many lines. Also, each individual "case" block within the giant "switch" can be hard to isolate if spanning over multiple pages as well. gdb/ChangeLog: * ada-valprint.c (ada_val_print_gnat_array): New function, extracted from ada_val_print_1; (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum) (ada_val_print_flt, ada_val_print_struct_union) (ada_val_print_ref): Likewise. (ada_val_print_1): Delete variables i and elttype. Replace extracted-out code by call to corresponding new functions.
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions