Split out eval_op_rust_ind
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:07 +0000 (07:28 -0700)
commitd123f9e4a3936aeff524322e052ce1fd9ff1f19f
tree2b2654bbb78263a46a1a7193c4f731fb9e7b5fdf
parent984af2cb260aec903280aa3f1dd47be6d5dc69de
Split out eval_op_rust_ind

This splits UNOP_IND into a new function for future use.

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

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