Introduce rust_subscript_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)
commit6ce1ad679a7aa1f82e483451669d5d77bfc1b8fb
treede2631c5f3d13cdb64c0fe6d7559754c52534d3c
parent11dd3dce4427792a89a851b8ed290b3c8124f282
Introduce rust_subscript_operation

This adds class rust_subscript_operation, which implements
BINOP_SUBSCRIPT for Rust.

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

* rust-lang.c (rust_subscript): No longer static.
* rust-exp.h (class rust_subscript_operation): New.
gdb/ChangeLog
gdb/rust-exp.h
gdb/rust-lang.c