Introduce structop_member_operation and structop_mptr_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:18 +0000 (07:28 -0700)
commit07f724a8c604cdfa1639f757e577dd6eb9caed25
treef4838548b2cdc00fbc2c4353c3f92620958539e1
parentab0609be836ef93f6ed4c84484ec1059cfecebf4
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.
gdb/ChangeLog
gdb/eval.c
gdb/expop.h