]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
arc: Rename "arc_gdbarch_features" struct
authorShahab Vahedi <shahab@synopsys.com>
Mon, 5 Oct 2020 15:10:47 +0000 (17:10 +0200)
committerShahab Vahedi <shahab@synopsys.com>
Wed, 7 Oct 2020 16:00:26 +0000 (18:00 +0200)
commite26d3e9b76138008f4de4fc075078bf4a5ec003d
tree9fa1e5a5e2600dd36cba82cee787387d15ae37d3
parent8f97e9b79de3180d4b6980a7de606cb6b7abcd95
arc: Rename "arc_gdbarch_features" struct

"arc_gdbarch_features" is a data structure containing information
about the ARC architecture: ISA version, register size, etc.
This name is misleading, because although it carries the phrase
"gdbarch", it has nothing to do with the type/interface in GDB.
Traditionaly, "gdbarch" structures are only used for that purpose.
To rectify this, this patch changes the name to "arc_arch_features".

gdb/ChangeLog:

* arch/arc.h: Rename "arc_gdbarch_features" to
"arc_arch_features".
* arc-tdep.h: Likewise.
* arc-tdep.c: Likewise.
gdb/arc-tdep.c
gdb/arch/arc.c
gdb/arch/arc.h