Unify all operators into std-operator.def

This removes ada-operator.def and fortran-operator.def, merging their
contents into std-operator.def.

Note that the comment for OP_EXTENDED0 is a bit wrong.  IMO this
constant could be removed, as it is only used for a single assert that
does not provide much value.  However, I haven't done so here.

gdb/ChangeLog
2020-12-09  Tom Tromey  <tromey@adacore.com>

	* expprint.c (op_name): Update.
	* expression.h (enum exp_opcode): Update.
	* std-operator.def: Add more opcodes.
	* ada-operator.def, fortran-operator.def: Remove, moving contents
	into std-operator.def.
This commit is contained in:
Tom Tromey
2020-12-09 13:43:44 -07:00
parent 6ad368b8ca
commit d9c3a9c036
6 changed files with 113 additions and 144 deletions

View File

@ -704,8 +704,6 @@ op_name (enum exp_opcode opcode)
case name: \
return #name ;
#include "std-operator.def"
#include "ada-operator.def"
#include "fortran-operator.def"
#undef OP
}
}