Split out ada_unop_neg
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)
commit82390ab88ce41c4fcc26584de895bb2fc24c697e
tree64bfee804afd65dade309fe308752671ee7f0316
parent62d4bd947e056a28c2b5086fa82a84b0721b3c97
Split out ada_unop_neg

This splits UNOP_NEG into a new function for future use.

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

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