Split out ada_equal_binop
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:11 +0000 (07:28 -0700)
commit214b13ac3b8f041af4bd643808590955528a1d27
tree110bc6c0efdb93e1c8708cf13345a92fd22c1b22
parentfaa1dfd751a2b9aed57cf344a78905591708bb58
Split out ada_equal_binop

This splits BINOP_EQUAL and BINOP_NOTEQUAL into a new function for
future use.

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

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