]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
update name of several Ada fixed-point type handling functions
authorJoel Brobecker <brobecker@adacore.com>
Fri, 15 May 2020 20:06:42 +0000 (15:06 -0500)
committerJoel Brobecker <brobecker@adacore.com>
Fri, 15 May 2020 20:06:42 +0000 (16:06 -0400)
commitb2188a06e4583067a503fbc271e110e814890cc1
tree121abc54859cc2e200213193d8a056f53757c827
parent86e4e63d7cabb94a80a5ce767f670b65add5a083
update name of several Ada fixed-point type handling functions

The purpose of this patch is to prepare for the future where
fixed point types become described using standard DWARF info,
rather than GNAT encodings. For that, we rename a number of
routines manipulating Ada fixed point types to make it explicit
from their new names that they rely on the GNAT encodings to work.
This will allow us, when we introduce support for fixed point types
from standard DWARF to use names that are not ambiguous with
the functions that do similar work, but only for GNAT encodings.

gdb/ChangeLog:

        * ada-lang.h: (ada_is_gnat_encoded_fixed_point_type): Renames
        ada_is_fixed_point_type.  Update all callers.
        (gnat_encoded_fixed_point_delta): Renames ada_delta.  Update
        all callers.
        * ada-lang.c (gnat_encoded_fixed_type_info): Renames fixed_type_info.
        Update all callers.
        * ada-typeprint.c (print_gnat_encoded_fixed_point_type): Renames
        print_fixed_point_type.  Update all callers.
        * ada-valprint.c (ada_value_print_num): Replace call to
        ada_is_fixed_point_type by ada_is_gnat_encoded_fixed_point_type.
gdb/ChangeLog
gdb/ada-lang.c
gdb/ada-lang.h
gdb/ada-typeprint.c
gdb/ada-valprint.c