Split out eval_op_ternop
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:27:59 +0000 (07:27 -0700)
commitf960a6176a3185a013db507c29d99d8c92eb21b9
tree1cca3bba5070a10cf9fe446cf49d639d5a483acc
parent5c2f201e8d6cd3e4d9526d9d2833fa0cbaa93e67
Split out eval_op_ternop

This splits TERNOP_SLICE into a new function for future use.

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

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