Split out ada_binop_in_bounds
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)
commitb467efaa91d270f8d057bbae9ab915d068a90ec4
treecc545fcd0c326c8db0087ee282c259b58f0dc94c
parent5ce19db80f15af66a17acf02e1d831b387220ca7
Split out ada_binop_in_bounds

This splits BINOP_IN_BOUNDS into a new function for future use.

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

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