Introduce structop_ptr_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)
commitab0609be836ef93f6ed4c84484ec1059cfecebf4
treebde27a09f8f0591e25c5e56d60beede5bb95a5a2
parent808b22cfd7e1afdcba7dea700a76401e2f68f2c6
Introduce structop_ptr_operation

This adds class structop_ptr_operation, which implements STRUCTOP_PTR.

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

* expop.h (class structop_ptr_operation): New.
* eval.c (eval_op_structop_ptr): No longer static.  Remove "op"
parameter.
gdb/ChangeLog
gdb/eval.c
gdb/expop.h