mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 02:20:51 +00: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:
@@ -251,7 +251,7 @@ find_function_addr (struct value *function,
|
||||
struct type **function_type)
|
||||
{
|
||||
struct type *ftype = check_typedef (value_type (function));
|
||||
struct gdbarch *gdbarch = get_type_arch (ftype);
|
||||
struct gdbarch *gdbarch = ftype->arch ();
|
||||
struct type *value_type = NULL;
|
||||
/* Initialize it just to avoid a GCC false warning. */
|
||||
CORE_ADDR funaddr = 0;
|
||||
|
||||
Reference in New Issue
Block a user