Remove two Ada 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:41 +0000 (07:28 -0700)
commit0922dc847e90e6ab53acd2ef7725103e027126b9
tree771b8cc42945817c325382bb48e378685804aa12
parent1eaebe02cfe78229d78ac27f5bd6651e1c1af863
Remove two Ada opcodes

The OP_ATR_MIN and OP_ATR_MAX constants aren't truly needed.
Internally, they are converted to BINOP_MIN and BINOP_MAX.  This patch
removes them in favor of simple reuse.

gdb/ChangeLog
2021-03-08  Tom Tromey  <tom@tromey.com>

* std-operator.def (OP_ATR_MIN, OP_ATR_MAX): Remove.
* ada-lang.c (ada_binop_minmax): Update.
* ada-exp.h (ada_binop_min_operation, ada_binop_max_operation):
Use BINOP_MIN and BINOP_MAX.
gdb/ChangeLog
gdb/ada-exp.h
gdb/ada-lang.c
gdb/std-operator.def