diff options
author | Joel Brobecker <brobecker@adacore.com> | 2020-11-01 02:29:27 -0500 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2020-11-01 02:29:27 -0500 |
commit | 75f24e86bacd5b4832b8af12e2aef59c9f769335 (patch) | |
tree | 99214130d9f1bbf6617f62335b1c6dba39824a00 /gdb/ChangeLog | |
parent | 80630624b4c224908b745b8a5396ff2e40896a30 (diff) | |
download | gdb-75f24e86bacd5b4832b8af12e2aef59c9f769335.zip gdb-75f24e86bacd5b4832b8af12e2aef59c9f769335.tar.gz gdb-75f24e86bacd5b4832b8af12e2aef59c9f769335.tar.bz2 |
ada-lang.c: Renaming some fixed-point-related routines
This patch renames some of the fixed-point-related subprograms in ada-lang.c
so as to make it obvious that those routines only handle the case where
the types are encoded using the GNAT encoding.
No function change; this patch is preparation work for adding support
for fixed-point types purely based on standard DWARF debug info.
gdb/ChangeLog:
* ada-lang.c (cast_from_gnat_encoded_fixed_point_type): Renames
cast_from_fixed. Update all callers.
(cast_to_gnat_encoded_fixed_point_type): Renames cast_to_fixed.
Update all callers.
(gnat_encoded_fixed_point_scaling_factor): Renames ada_scaling_factor.
Update all callers.
* ada-lang.h (gnat_encoded_fixed_point_scaling_factor): Renames
ada_scaling_factor.
* ada-typeprint.c: Replace call to ada_scaling_factor by call
to print_gnat_encoded_fixed_point_type.
* ada-valprint.c: Likewise.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4a160ec..8e46763 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,17 @@ +2020-11-01 Joel Brobecker <brobecker@adacore.com> + + * ada-lang.c (cast_from_gnat_encoded_fixed_point_type): Renames + cast_from_fixed. Update all callers. + (cast_to_gnat_encoded_fixed_point_type): Renames cast_to_fixed. + Update all callers. + (gnat_encoded_fixed_point_scaling_factor): Renames ada_scaling_factor. + Update all callers. + * ada-lang.h (gnat_encoded_fixed_point_scaling_factor): Renames + ada_scaling_factor. + * ada-typeprint.c: Replace call to ada_scaling_factor by call + to print_gnat_encoded_fixed_point_type. + * ada-valprint.c: Likewise. + 2020-10-31 Andrew Burgess <andrew.burgess@embecosm.com> * infrun.h (infrun_debug_printf): Add check of debug_infrun flag. |