Split out ada_abs
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)
commitd05e24e61a7dc22076568a59b3d4bbbd63ca764c
treee7a93c232f07d09a7ffca38fef5f1915f475fafe
parent68c757358fc3d41ec26b2159cdbcac4f757dc3a2
Split out ada_abs

This splits UNOP_ABS into a new function for future use.

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

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