diff options
author | Joel Brobecker <brobecker@gnat.com> | 2010-05-17 16:55:31 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2010-05-17 16:55:31 +0000 |
commit | 28c85d6c4b53aca80e4b00525a89fa213705690c (patch) | |
tree | ea2b98cdc7d99cae7d17e937953b4556fd6c95f1 /gdb/hppabsd-tdep.h | |
parent | 3872d37d18fb4e3c92df4c5816876e651e1fd3bf (diff) | |
download | gdb-28c85d6c4b53aca80e4b00525a89fa213705690c.zip gdb-28c85d6c4b53aca80e4b00525a89fa213705690c.tar.gz gdb-28c85d6c4b53aca80e4b00525a89fa213705690c.tar.bz2 |
Avoid global lookup when decoding XA type.
This patch enhances GDB to take advantage of a recent change in the GNAT
encoding regarding XA types. A detailed description of the logic has
been added at the start of ada_fixup_array_indexes_type to give the
context behind this enhancement.
2010-05-17 Joel Brobecker <brobecker@adacore.com>
* ada-lang.c (to_fixed_range_type): The the raw index type as
argument instead of the raw type name. Remove orig_type parameter.
Update calls throughout.
(ada_fixup_array_indexes_type): New function.
(ada_array_bound_from_type): Add call to ada_fixup_array_indexes_type.
* ada-lang.h (ada_fixup_array_indexes_type): Add declaration.
* ada-typeprint.c (print_range_type): Renames print_range_type_named.
Remove name parameter.
(print_array_type): Add call to ada_fixup_array_indexes_type.
Update calls to print_range_type.
(ada_print_type): Update calls to print_range_type.
Diffstat (limited to 'gdb/hppabsd-tdep.h')
0 files changed, 0 insertions, 0 deletions