Split out eval_op_complement
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:03 +0000 (07:28 -0700)
commit1f09ec811eec9ea3a5ef4276f8e94ea6c5e85ef2
treed0c6c8fdd38d8831122a445975ea10a8d2cf8755
parent606d105ff12c443e5466581a095ad151ce14bc62
Split out eval_op_complement

This splits UNOP_COMPLEMENT into a new function for future use.

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

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