Introduce assign_operation
authorTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:27:57 +0000 (07:27 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:28:23 +0000 (07:28 -0700)
commit40786782896deaf8f97f8dc62b85d9facb30fc8a
tree48e89cc17999476dc3b3864afcf76ef7715dd608
parent44b675c89b9d4e22ab60f51416b47634df2a3774
Introduce assign_operation

This adds class assign_operation, which implements BINOP_ASSIGN.

gdb/ChangeLog
2021-03-08  Tom Tromey  <tom@tromey.com>

* expop.h (class assign_operation): New.
* ax-gdb.c (assign_operation::do_generate_ax): New method.
gdb/ChangeLog
gdb/ax-gdb.c
gdb/expop.h