]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ChangeLog
Rewrite GNAT-encoded fixed point types in DWARF reader
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
index 05e53caad669fb729c6b72fe6e0f32f319bce542..518e5c29218c7180310bdf0a536450e6087e71d7 100644 (file)
@@ -1,3 +1,25 @@
+2021-03-02  Tom Tromey  <tromey@adacore.com>
+
+       * ada-lang.c (cast_from_gnat_encoded_fixed_point_type)
+       (cast_to_gnat_encoded_fixed_point_type): Remove.
+       (ada_value_cast, ada_evaluate_subexp): Update.
+       (gnat_encoded_fixed_point_type_info)
+       (ada_is_gnat_encoded_fixed_point_type)
+       (gnat_encoded_fixed_point_delta)
+       (gnat_encoded_fixed_point_scaling_factor): Remove.
+       * ada-lang.h (ada_is_gnat_encoded_fixed_point_type)
+       (gnat_encoded_fixed_point_delta)
+       (gnat_encoded_fixed_point_scaling_factor): Don't declare.
+       * ada-typeprint.c (print_gnat_encoded_fixed_point_type): Remove.
+       (ada_print_type): Update.
+       * ada-valprint.c (ada_value_print_num): Update.
+       * dwarf2/read.c (ada_get_gnat_encoded_number)
+       (ada_get_gnat_encoded_ratio): New functions.
+       (finish_fixed_point_type): Use them.  Add parameters.
+       (GNAT_FIXED_POINT_SUFFIX): New define.
+       (gnat_encoded_fixed_point_type_info): New function.
+       (read_base_type): Handle gnat encodings.
+
 2021-03-02  Tom Tromey  <tromey@adacore.com>
 
        * ada-lang.c (ada_fold_name, ada_variant_discrim_name)