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.
This commit is contained in:
parent
ab0609be83
commit
07f724a8c6
3 changed files with 55 additions and 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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue