aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-03-08 07:27:57 -0700
committerTom Tromey <tom@tromey.com>2021-03-08 07:28:42 -0700
commit43f542e3211c1328050d2c4b30c094a13aba7c1e (patch)
tree104c4abe530e07f32ccf840041e6c496984313c6 /gdb
parent5d9ba98236567076540091e8e5b99388b3baba89 (diff)
downloadgdb-43f542e3211c1328050d2c4b30c094a13aba7c1e.zip
gdb-43f542e3211c1328050d2c4b30c094a13aba7c1e.tar.gz
gdb-43f542e3211c1328050d2c4b30c094a13aba7c1e.tar.bz2
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 <tom@tromey.com> * std-operator.def (OP_EXTENDED0): Remove.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/std-operator.def4
2 files changed, 4 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 74eb755..451f27b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2021-03-08 Tom Tromey <tom@tromey.com>
+ * std-operator.def (OP_EXTENDED0): Remove.
+
+2021-03-08 Tom Tromey <tom@tromey.com>
+
* std-operator.def (OP_NAME, OP_ATR_IMAGE, OP_ATR_MODULUS)
(OP_OTHERS, OP_CHOICES, OP_POSITIONAL, OP_DISCRETE_RANGE):
Remove.
diff --git a/gdb/std-operator.def b/gdb/std-operator.def
index f5804b3..82daabe 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