gdb: rename get_type_arch to type::arch
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 28 Jan 2021 15:12:10 +0000 (10:12 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 28 Jan 2021 15:12:10 +0000 (10:12 -0500)
commit8ee511afd84972c2019518725295440b3d2676bc
tree80875b064bc5fd0a182bda2c123be6aade583907
parent6ac373717c28cc2befebd1e926dc5fcf39dda39f
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
30 files changed:
gdb/ChangeLog
gdb/ada-lang.c
gdb/ada-valprint.c
gdb/breakpoint.c
gdb/c-lang.c
gdb/c-typeprint.c
gdb/c-valprint.c
gdb/cp-valprint.c
gdb/f-array-walker.h
gdb/f-lang.c
gdb/f-typeprint.c
gdb/f-valprint.c
gdb/findvar.c
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/gnu-v3-abi.c
gdb/go-valprint.c
gdb/guile/scm-pretty-print.c
gdb/guile/scm-value.c
gdb/infcall.c
gdb/m2-valprint.c
gdb/p-valprint.c
gdb/printcmd.c
gdb/python/py-prettyprint.c
gdb/rust-lang.c
gdb/valarith.c
gdb/valops.c
gdb/valprint.c
gdb/value.c
gdb/varobj.c