Introduce array_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:29 +0000 (07:28 -0700)
commit1c02eb30358a1d31918830b800cf1ff7c817439a
tree2fcec413594288270f0d80ffae631aff7f95f36e
parente447908052f54164eec481d15a5274ddf385569d
Introduce array_operation

This adds class array_operation, which implements OP_ARRAY.

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

* expop.h (class array_operation): New.
* eval.c (array_operation::evaluate_struct_tuple)
(array_operation::evaluate): New methods.
gdb/ChangeLog
gdb/eval.c
gdb/expop.h