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:24 -0700 |
commit | e5946e1604068a154a8541f88d74ad75a9e52fac (patch) | |
tree | 4d2d484d5f5b3a60ae9cef1ddc63952142ee62fb /gdb/eval.c | |
parent | 40786782896deaf8f97f8dc62b85d9facb30fc8a (diff) | |
download | gdb-e5946e1604068a154a8541f88d74ad75a9e52fac.zip gdb-e5946e1604068a154a8541f88d74ad75a9e52fac.tar.gz gdb-e5946e1604068a154a8541f88d74ad75a9e52fac.tar.bz2 |
Introduce assign_modify_operation
This adds class assign_modify_operation, which implements
BINOP_ASSIGN_MODIFY.
gdb/ChangeLog
2021-03-08 Tom Tromey <tom@tromey.com>
* expop.h (class assign_modify_operation): New.
* eval.c (eval_binop_assign_modify): No longer static.
* ax-gdb.c (assign_modify_operation::do_generate_ax): New method.
Diffstat (limited to 'gdb/eval.c')
-rw-r--r-- | gdb/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2074,7 +2074,7 @@ eval_op_type (struct type *expect_type, struct expression *exp, /* A helper function for BINOP_ASSIGN_MODIFY. */ -static struct value * +struct value * eval_binop_assign_modify (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg1, struct value *arg2) |