From 43f542e3211c1328050d2c4b30c094a13aba7c1e Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 8 Mar 2021 07:27:57 -0700 Subject: [PATCH] Remove OP_EXTENDED0 OP_EXTENDED0 was only used for an assertion in the code to rewrite an expression into prefix form. That code is gone, so this patch removes the constant. gdb/ChangeLog 2021-03-08 Tom Tromey * std-operator.def (OP_EXTENDED0): Remove. --- gdb/ChangeLog | 4 ++++ gdb/std-operator.def | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 74eb7555ff1..451f27b8a07 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2021-03-08 Tom Tromey + + * std-operator.def (OP_EXTENDED0): Remove. + 2021-03-08 Tom Tromey * std-operator.def (OP_NAME, OP_ATR_IMAGE, OP_ATR_MODULUS) diff --git a/gdb/std-operator.def b/gdb/std-operator.def index f5804b301e3..82daabeaa9b 100644 --- a/gdb/std-operator.def +++ b/gdb/std-operator.def @@ -326,10 +326,6 @@ OP (OP_TYPEID) takes two expression arguments. */ OP (OP_RUST_ARRAY) -/* First extension operator. Some language modules define extra - operators below with numbers higher than OP_EXTENDED0. */ -OP (OP_EXTENDED0) - /* ================ Ada operators ================ */ /* X IN A'RANGE(N). N is an immediate operand, surrounded by -- 2.30.2