Split out ada_binop_minmax
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:12 +0000 (07:28 -0700)
commit38dc70cfeea6bf0cc97ac08dc61878726cb60204
tree38e6161e3bf8ba63fe2e24193f4be9403a5510f8
parentb84564fc8cecceb0d289e671169391f896382e5e
Split out ada_binop_minmax

This splits OP_ATR_MIN and OP_ATR_MAX into a new function for future
use.

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

* ada-lang.c (ada_binop_minmax): New function.
(ada_evaluate_subexp): Use it.
gdb/ChangeLog
gdb/ada-lang.c