]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Remove unused Modula-2 opcodes
authorTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:27:57 +0000 (07:27 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:28:42 +0000 (07:28 -0700)
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  <tom@tromey.com>

* std-operator.def (UNOP_CAP, UNOP_CHR, UNOP_ORD, UNOP_FLOAT)
(UNOP_MAX, UNOP_MIN, UNOP_ODD, UNOP_TRUNC, OP_M2_STRING): Remove.

gdb/ChangeLog
gdb/std-operator.def

index 541bd5f8191b079713be6c843ae5d0e9005f7f30..01084b74a01cf75982d2a65abc9534b73caf3772 100644 (file)
@@ -1,3 +1,8 @@
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
 
        * std-operator.def (OP_ATR_MIN, OP_ATR_MAX): Remove.
index c1d30918e0a130a7470a93c980acdf9c42d52133..4bca294020c262748427c163459a2421b3d38858 100644 (file)
@@ -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