Introduce func_static_var_operation
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:15 +0000 (07:28 -0700)
commit176793957a9892b6632710d505873eba43b35223
treead96faa7b021392a7035206239b059ee55e9e5ee
parentb5cc3923def975c28d44421a11bac671ede5b92c
Introduce func_static_var_operation

This adds class func_static_var_operation, which implements
OP_FUNC_STATIC_VAR.

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

* expop.h (class func_static_var_operation): New.
* eval.c (eval_op_func_static_var): No longer static.
gdb/ChangeLog
gdb/eval.c
gdb/expop.h