Rename address_space_int_to_name/address_space_name_to_int
authorPedro Alves <pedro@palves.net>
Mon, 14 Sep 2020 20:16:57 +0000 (21:16 +0100)
committerPedro Alves <pedro@palves.net>
Mon, 14 Sep 2020 21:19:02 +0000 (22:19 +0100)
commit69896a2cd12e7819a81823430b3ece5a7c9a6973
tree995105bbfff38fedd49859208bb8df2c3acb05c9
parent314ad88df63c26a986e1ecd18bfe1de81a3cc0fb
Rename address_space_int_to_name/address_space_name_to_int

These methods now take/return a type_instance_flags instead of a raw
integer, so rename them accordingly.

gdb/ChangeLog:

* c-typeprint.c (c_type_print_modifier): Adjust to rename.
* gdbtypes.c (address_space_name_to_int): Rename to ...
(address_space_name_to_type_instance_flags): ... this.
(address_space_int_to_name): Rename to ...
(address_space_type_instance_flags_to_name): ... this.
* gdbtypes.h (address_space_name_to_int): Rename to ...
(address_space_name_to_type_instance_flags): ... this.
(address_space_int_to_name): Rename to ...
(address_space_type_instance_flags_to_name): ... this.
* type-stack.c (type_stack::insert): Adjust to rename.
* type-stack.h (type_stack::insert): Likewise.
gdb/ChangeLog
gdb/c-typeprint.c
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/type-stack.c
gdb/type-stack.h