From 07f724a8c604cdfa1639f757e577dd6eb9caed25 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 8 Mar 2021 07:27:57 -0700 Subject: Introduce structop_member_operation and structop_mptr_operation This adds class structop_member_operation and structop_mptr_operation, which implement STRUCTOP_MEMBER and STRUCTOP_MPTR. gdb/ChangeLog 2021-03-08 Tom Tromey * expop.h (class structop_member_operation) (class structop_mptr_operation): New. * eval.c (eval_op_member): 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 1962777..de78631 100644 --- a/gdb/eval.c +++ b/gdb/eval.c @@ -1417,7 +1417,7 @@ eval_op_structop_ptr (struct type *expect_type, struct expression *exp, /* A helper function for STRUCTOP_MEMBER. */ -static struct value * +struct value * eval_op_member (struct type *expect_type, struct expression *exp, enum noside noside, struct value *arg1, struct value *arg2) -- cgit v1.1