diff options
author | Tom Tromey <tom@tromey.com> | 2021-03-08 07:27:57 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-03-08 07:28:18 -0700 |
commit | 07f724a8c604cdfa1639f757e577dd6eb9caed25 (patch) | |
tree | f4838548b2cdc00fbc2c4353c3f92620958539e1 /gdb/eval.c | |
parent | ab0609be836ef93f6ed4c84484ec1059cfecebf4 (diff) | |
download | gdb-07f724a8c604cdfa1639f757e577dd6eb9caed25.zip gdb-07f724a8c604cdfa1639f757e577dd6eb9caed25.tar.gz gdb-07f724a8c604cdfa1639f757e577dd6eb9caed25.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |