From 176793957a9892b6632710d505873eba43b35223 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 8 Mar 2021 07:27:57 -0700 Subject: 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 * expop.h (class func_static_var_operation): New. * eval.c (eval_op_func_static_var): No longer static. --- gdb/eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/eval.c') diff --git a/gdb/eval.c b/gdb/eval.c index 7645291..56010ee 100644 --- a/gdb/eval.c +++ b/gdb/eval.c @@ -1237,7 +1237,7 @@ eval_op_var_msym_value (struct type *expect_type, struct expression *exp, /* Helper function that implements the body of OP_FUNC_STATIC_VAR. */ -static struct value * +struct value * eval_op_func_static_var (struct type *expect_type, struct expression *exp, enum noside noside, value *func, const char *var) -- cgit v1.1