aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.h
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2020-08-14 15:06:08 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2020-10-23 10:57:14 +0100
commite74b39ded0a18ee3aa1e84580f6856ec40568a07 (patch)
tree620fa4bea50010e053ea73dad87ae35ed9ee9c4c /gdb/language.h
parent00c696a6e2c2b1ea7ab39a25b15b5c0af0e58278 (diff)
downloadgdb-e74b39ded0a18ee3aa1e84580f6856ec40568a07.zip
gdb-e74b39ded0a18ee3aa1e84580f6856ec40568a07.tar.gz
gdb-e74b39ded0a18ee3aa1e84580f6856ec40568a07.tar.bz2
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.
Diffstat (limited to 'gdb/language.h')
-rw-r--r--gdb/language.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/language.h b/gdb/language.h
index c85f90f..bffa9fd 100644
--- a/gdb/language.h
+++ b/gdb/language.h
@@ -652,10 +652,6 @@ extern enum language set_language (enum language);
#define LA_EMIT_CHAR(ch, type, stream, quoter) \
(current_language->emitchar (ch, type, stream, quoter))
-#define LA_PRINT_ARRAY_INDEX(index_type, index_value, stream, options) \
- (current_language->print_array_index(index_type, index_value, stream, \
- options))
-
#define LA_ITERATE_OVER_SYMBOLS(BLOCK, NAME, DOMAIN, CALLBACK) \
(current_language->iterate_over_symbols (BLOCK, NAME, DOMAIN, CALLBACK))