Split out eval_op_rust_array
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:08 +0000 (07:28 -0700)
commit051042333d9d7e2622f3825d5cf532676787dd1c
tree0ffdf3084848754b16efe922c86a871e27f421dd
parent6fa9831f89a3c788f4ea1ab6d1e2543dabfc0f8e
Split out eval_op_rust_array

This splits OP_ARRAY into a new function for future use.

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

* rust-lang.c (eval_op_rust_array): New function.
(rust_evaluate_subexp): Use it.
gdb/ChangeLog
gdb/rust-lang.c