From: Tom Tromey Date: Mon, 8 Mar 2021 14:27:57 +0000 (-0700) Subject: Remove unused Modula-2 opcodes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d357570da8c055765d243a140be2fae9811a051d;p=binutils-gdb.git Remove unused Modula-2 opcodes As noted in an earlier patch, Modula-2 defined some opcodes but then never implemented them. This patch removes the unnecessary constants. gdb/ChangeLog 2021-03-08 Tom Tromey * std-operator.def (UNOP_CAP, UNOP_CHR, UNOP_ORD, UNOP_FLOAT) (UNOP_MAX, UNOP_MIN, UNOP_ODD, UNOP_TRUNC, OP_M2_STRING): Remove. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 541bd5f8191..01084b74a01 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2021-03-08 Tom Tromey + + * std-operator.def (UNOP_CAP, UNOP_CHR, UNOP_ORD, UNOP_FLOAT) + (UNOP_MAX, UNOP_MIN, UNOP_ODD, UNOP_TRUNC, OP_M2_STRING): Remove. + 2021-03-08 Tom Tromey * std-operator.def (OP_ATR_MIN, OP_ATR_MAX): Remove. diff --git a/gdb/std-operator.def b/gdb/std-operator.def index c1d30918e0a..4bca294020c 100644 --- a/gdb/std-operator.def +++ b/gdb/std-operator.def @@ -230,19 +230,10 @@ OP (UNOP_ALIGNOF) /* Unary alignof (followed by expression) */ OP (UNOP_PLUS) /* Unary plus */ -OP (UNOP_CAP) /* Modula-2 standard (unary) procedures */ -OP (UNOP_CHR) -OP (UNOP_ORD) OP (UNOP_ABS) -OP (UNOP_FLOAT) OP (UNOP_HIGH) -OP (UNOP_MAX) -OP (UNOP_MIN) -OP (UNOP_ODD) -OP (UNOP_TRUNC) OP (OP_BOOL) /* Modula-2 builtin BOOLEAN type */ -OP (OP_M2_STRING) /* Modula-2 string constants */ /* STRUCTOP_... operate on a value from a following subexpression by extracting a structure component specified by a string