Split out eval_op_sub
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:00 +0000 (07:28 -0700)
commitd9790e22f44ecada1d0fd53cc82227677d1222cb
tree680ae70c84078ad198ac7bcf32a2da569062f4fd
parentaedaf9ac06d60186e2b593ee468179f8132a2510
Split out eval_op_sub

This splits BINOP_SUB into a new function for future use.

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

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