Split out eval_op_func_static_var
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:58 +0000 (07:27 -0700)
commit9b1d8af6833dd32ebc03c6372f98c432101dcf92
treec5ccbbb4e0850f756dbf9e7f7f07a7059b4969dd
parentc0df928969781cca1c270ed835407d0222cd1da7
Split out eval_op_func_static_var

This splits OP_FUNC_STATIC_VAR into a new function for future use.

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

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