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:
parent
6ac373717c
commit
8ee511afd8
30 changed files with 101 additions and 110 deletions
|
@ -564,7 +564,7 @@ gdbpy_apply_val_pretty_printer (const struct extension_language_defn *extlang,
|
|||
const struct language_defn *language)
|
||||
{
|
||||
struct type *type = value_type (value);
|
||||
struct gdbarch *gdbarch = get_type_arch (type);
|
||||
struct gdbarch *gdbarch = type->arch ();
|
||||
enum string_repr_result print_result;
|
||||
|
||||
if (value_lazy (value))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue