diff options
author | Tom Tromey <tromey@adacore.com> | 2020-12-09 13:43:44 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-12-09 13:43:44 -0700 |
commit | d9c3a9c03692c12b472c555f71fe7a2444a24d46 (patch) | |
tree | 29ec48164b06f4af8983f1f3ca0761cc8371f272 /gdb/expression.h | |
parent | 6ad368b8caf6650852983fc23814c9f393da0439 (diff) | |
download | gdb-d9c3a9c03692c12b472c555f71fe7a2444a24d46.zip gdb-d9c3a9c03692c12b472c555f71fe7a2444a24d46.tar.gz 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/expression.h')
-rw-r--r-- | gdb/expression.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/expression.h b/gdb/expression.h index 684274b..9ac940f 100644 --- a/gdb/expression.h +++ b/gdb/expression.h @@ -61,15 +61,6 @@ enum exp_opcode : uint8_t #include "std-operator.def" - /* First extension operator. Individual language modules define extra - operators in *.def include files below with numbers higher than - OP_EXTENDED0. */ - OP (OP_EXTENDED0) - -/* Language specific operators. */ -#include "ada-operator.def" -#include "fortran-operator.def" - #undef OP /* Existing only to swallow the last comma (',') from last .inc file. */ |