mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 07:08:01 +08:00
gdb: rename get_type_arch to type::arch
... and update all users. gdb/ChangeLog: * gdbtypes.h (get_type_arch): Rename to... (struct type) <arch>: ... this, update all users. Change-Id: I0e3ef938a0afe798ac0da74a9976bbd1d082fc6f
This commit is contained in:
@ -52,8 +52,8 @@ public:
|
||||
m_stride = type_length_units (elt_type);
|
||||
else
|
||||
{
|
||||
struct gdbarch *arch = get_type_arch (elt_type);
|
||||
int unit_size = gdbarch_addressable_memory_unit_size (arch);
|
||||
int unit_size
|
||||
= gdbarch_addressable_memory_unit_size (elt_type->arch ());
|
||||
m_stride /= (unit_size * 8);
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user