summaryrefslogtreecommitdiff
path: root/gdb/eval.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-03-08 07:27:57 -0700
committerTom Tromey <tom@tromey.com>2021-03-08 07:28:18 -0700
commit07f724a8c604cdfa1639f757e577dd6eb9caed25 (patch)
treef4838548b2cdc00fbc2c4353c3f92620958539e1 /gdb/eval.c
parentab0609be836ef93f6ed4c84484ec1059cfecebf4 (diff)
downloadbinutils-gdb-07f724a8c604cdfa1639f757e577dd6eb9caed25.tar.gz
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 <tom@tromey.com> * expop.h (class structop_member_operation) (class structop_mptr_operation): New. * eval.c (eval_op_member): No longer static.
Diffstat (limited to 'gdb/eval.c')
-rw-r--r--gdb/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/eval.c b/gdb/eval.c
index 1962777cc6d..de7863138b3 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)