Convert ada_val_print_ref to value-based API
[binutils-gdb.git] / gdb / ChangeLog
index c2b0550420fc4b699b5c0ff2b8d8dece2edcbcf0..78ffe614c95ea6ecef380fd95ef96ffb66a764a8 100644 (file)
@@ -1,3 +1,72 @@
+2020-03-13  Tom Tromey  <tom@tromey.com>
+
+       * ada-valprint.c (ada_val_print_ref): Use common_val_print.
+
+2020-03-13  Tom Tromey  <tom@tromey.com>
+
+       * ada-valprint.c (ada_value_print_num): New function.
+       (ada_value_print_1): Use it.
+
+2020-03-13  Tom Tromey  <tom@tromey.com>
+
+       * ada-valprint.c (ada_value_print_1) <TYPE_CODE_FLT>: Rewrite.
+
+2020-03-13  Tom Tromey  <tom@tromey.com>
+
+       * ada-valprint.c (ada_value_print_ptr): New function.
+       (ada_value_print_1): Use it.
+
+2020-03-13  Tom Tromey  <tom@tromey.com>
+
+       * ada-valprint.c (ada_val_print_gnat_array): Take a struct value;
+       call common_val_print.
+       (ada_val_print_1): Update.
+       (ada_value_print_1): New function.
+       (ada_value_print_inner): Rewrite.
+
+2020-03-13  Tom Tromey  <tom@tromey.com>
+
+       * cp-valprint.c (cp_print_value_fields): Update.
+       (cp_print_value): New function.
+
+2020-03-13  Tom Tromey  <tom@tromey.com>
+
+       * m2-valprint.c (m2_value_print_inner): Use
+       cp_print_value_fields.
+       * cp-valprint.c (cp_print_value_fields): New function.
+       * c-valprint.c (c_value_print_struct): New function.
+       (c_value_print_inner): Use c_value_print_struct.
+       * c-lang.h (cp_print_value_fields): Declare.
+
+2020-03-13  Tom Tromey  <tom@tromey.com>
+
+       * c-valprint.c (c_value_print_array): New function.
+       (c_value_print_inner): Use it.
+
+2020-03-13  Tom Tromey  <tom@tromey.com>
+
+       * c-valprint.c (c_value_print_memberptr): New function.
+       (c_value_print_inner): Use it.
+
+2020-03-13  Tom Tromey  <tom@tromey.com>
+
+       * c-valprint.c (c_value_print_int): New function.
+       (c_value_print_inner): Use it.
+
+2020-03-13  Tom Tromey  <tom@tromey.com>
+
+       * c-valprint.c (c_value_print_ptr): New function.
+       (c_value_print_inner): Use it.
+
+2020-03-13  Tom Tromey  <tom@tromey.com>
+
+       * c-valprint.c (c_value_print_inner): Rewrite.
+
+2020-03-13  Tom Tromey  <tom@tromey.com>
+
+       * valprint.c (generic_value_print_complex): New function.
+       (generic_value_print): Use it.
+
 2020-03-13  Tom Tromey  <tom@tromey.com>
 
        * valprint.c (generic_val_print_float): Don't call