aboutsummaryrefslogtreecommitdiff
path: root/gdb/expprint.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2020-12-09 13:43:44 -0700
committerTom Tromey <tromey@adacore.com>2020-12-09 13:43:44 -0700
commitd9c3a9c03692c12b472c555f71fe7a2444a24d46 (patch)
tree29ec48164b06f4af8983f1f3ca0761cc8371f272 /gdb/expprint.c
parent6ad368b8caf6650852983fc23814c9f393da0439 (diff)
downloadfsf-binutils-gdb-d9c3a9c03692c12b472c555f71fe7a2444a24d46.zip
fsf-binutils-gdb-d9c3a9c03692c12b472c555f71fe7a2444a24d46.tar.gz
fsf-binutils-gdb-d9c3a9c03692c12b472c555f71fe7a2444a24d46.tar.bz2
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.
Diffstat (limited to 'gdb/expprint.c')
-rw-r--r--gdb/expprint.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/expprint.c b/gdb/expprint.c
index f1cf62e..5b4ea14 100644
--- a/gdb/expprint.c
+++ b/gdb/expprint.c
@@ -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
}
}