Implement Ada min and max operations
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:34 +0000 (07:28 -0700)
commit6ad3b8bf3b118e9635a0dcc022128496f4fc13ca
tree8a35c0e6cf7ef7cd781fe2f7ca6df716962a8647
parent3f4a0053d9699d19a0251cd8c87871c65994e8e1
Implement Ada min and max operations

This implement the Ada min and max operations using an existing
template class.

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

* ada-lang.c (ada_binop_minmax): No longer static.
* ada-exp.h (ada_binop_min_operation, ada_binop_max_operation):
New typedefs.
gdb/ChangeLog
gdb/ada-exp.h
gdb/ada-lang.c