Introduce rust_range_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)
commit9db6b6ddbd3a384d3a80bfee3e3a5c5a40fd43d0
tree7982ddac368014b043cca1c4d62a8827ab1063ee
parent6ce1ad679a7aa1f82e483451669d5d77bfc1b8fb
Introduce rust_range_operation

This adds class rust_range_operation, which implements OP_RANGE.

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

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