]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/rust-lang.c
Introduce rust_aggregate_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:27 +0000 (07:28 -0700)
commit5947d337d6061b884073a3a684aff2825c4a05f9
tree672e421f087f5c858c7b9bfc0cabca22066f4c51
parente4407a202d31a6873ea240b13125bf1ae8d20401
Introduce rust_aggregate_operation

This adds class rust_aggregate_operation, which implements
OP_AGGREGATE for Rust.

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

* rust-lang.c (rust_aggregate_operation::evaluate): New method.
* rust-exp.h (class rust_aggregate_operation): New.
gdb/ChangeLog
gdb/rust-exp.h
gdb/rust-lang.c