gdb: remove TYPE_ARRAY_BIT_STRIDE
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 13 Jul 2020 02:58:53 +0000 (22:58 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Mon, 13 Jul 2020 02:58:53 +0000 (22:58 -0400)
commit509971ae766fdba08437cbd8bc266aae8d2aa9e9
tree9f8e98dc0370c62f8ff8739f60ed8ef199769660
parent107406b7380489559c70702b8e6e9b3395c2662a
gdb: remove TYPE_ARRAY_BIT_STRIDE

Remove it and update all callers to use the equivalent accessor methods.
A subsequent patch will make type::bit_stride work for array types
(effectively replacing this macro), but I wanted to keep this patch a
simple mechanical change.

gdb/ChangeLog:

* gdbtypes.c (TYPE_ARRAY_BIT_STRIDE): Remove.  Update all
callers to use the equivalent accessor methods.

Change-Id: I09e14bd45075f98567adce8a0b93edea7722f812
gdb/ChangeLog
gdb/f-valprint.c
gdb/gdbtypes.h
gdb/valarith.c