Split out eval_op_type
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:05 +0000 (07:28 -0700)
commitaec95807f11b3403c1e8e000618bc85e0440799e
treeed4caafc97f6ed99fd37c6cf5c1738c3f31ddc08
parenta220ead5d47c7a026fa164004390fc477df63ebe
Split out eval_op_type

This splits OP_TYPE into a new function for future use.

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

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