gdb: remove LA_ITERATE_OVER_SYMBOLS macro

Replace the single use of the LA_ITERATE_OVER_SYMBOLS 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_ITERATE_OVER_SYMBOLS): Delete.
	(iterate_over_file_blocks): Replace use of macro with the macros
	definition.
This commit is contained in:
Andrew Burgess
2020-08-14 15:07:52 +01:00
parent e74b39ded0
commit 4b2f86ef2a
3 changed files with 7 additions and 4 deletions

View File

@ -652,9 +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_ITERATE_OVER_SYMBOLS(BLOCK, NAME, DOMAIN, CALLBACK) \
(current_language->iterate_over_symbols (BLOCK, NAME, DOMAIN, CALLBACK))
/* Test a character to decide whether it can be printed in literal form
or needs to be printed in another representation. For example,
in C the literal form of the character with octal value 141 is 'a'