forked from Imagelibrary/binutils-gdb
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:
@@ -788,7 +788,7 @@ ada_value_print_num (struct value *val, struct ui_file *stream, int recurse,
|
||||
so we have to work-around this deficiency by handling
|
||||
System.Address values as a special case. */
|
||||
|
||||
struct gdbarch *gdbarch = get_type_arch (type);
|
||||
struct gdbarch *gdbarch = type->arch ();
|
||||
struct type *ptr_type = builtin_type (gdbarch)->builtin_data_ptr;
|
||||
CORE_ADDR addr = extract_typed_address (valaddr, ptr_type);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user