Split out ada_unop_in_range
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:10 +0000 (07:28 -0700)
commit7efc87ffcb6cf97592821741a48c373d7e82eb0b
tree1ef7f07c0962295873cbe47eef6ae2b5abeea2f8
parent82390ab88ce41c4fcc26584de895bb2fc24c697e
Split out ada_unop_in_range

This splits UNOP_IN_RANGE into a new function for future use.

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

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