Split out eval_op_plus
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:02 +0000 (07:28 -0700)
commit39f288bea9fbae9e63c123411c150f8f34ea0059
tree907500f1fec98b5a07831c8efe943c0304e92b5e
parenteed70b1c374ac4155f5d18b87a5a6a74581f2076
Split out eval_op_plus

This splits UNOP_PLUS into a new function for future use.

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

* eval.c (eval_op_plus): New function.
(evaluate_subexp_standard): Use it.
gdb/ChangeLog
gdb/eval.c