Introduce structop_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)
commit808b22cfd7e1afdcba7dea700a76401e2f68f2c6
tree0ea409776e9dbef65870525a3cb2ca6a0bbffd72
parent8cfd3e95b7624785a47e08b430d49b3d0329a0ee
Introduce structop_operation

This adds class structop_base_operation and structop_operation, which
implement STRUCTOP_STRUCT.  The base class exists to unify the
completion code between STRUCTOP_STRUCT and STRUCTOP_PTR.

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

* expop.h (class structop_base_operation)
(class structop_operation): New.
* eval.c (eval_op_structop_struct): No longer static.
gdb/ChangeLog
gdb/eval.c
gdb/expop.h