gdb: remove LA_PRINT_ARRAY_INDEX macro
authorAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 14 Aug 2020 14:06:08 +0000 (15:06 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 23 Oct 2020 09:57:14 +0000 (10:57 +0100)
commite74b39ded0a18ee3aa1e84580f6856ec40568a07
tree620fa4bea50010e053ea73dad87ae35ed9ee9c4c
parent00c696a6e2c2b1ea7ab39a25b15b5c0af0e58278
gdb: remove LA_PRINT_ARRAY_INDEX macro

Replace the single use of the LA_PRINT_ARRAY_INDEX macro with the
macro's definition, and delete the macro.

There should be no user visible changes after this commit.

gdb/ChangeLog:

* language.h (LA_PRINT_ARRAY_INDEX): Delete.
* valprint.c (maybe_print_array_index): Replace use of macro with
the macros definition.
gdb/ChangeLog
gdb/language.h
gdb/valprint.c