Split out eval_multi_subscript
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:13 +0000 (07:28 -0700)
commitc0d7ed8ca842c9b199722a878f46adab7b9320ff
treeabd13005fa357c9b6fcb497ac4a90e13934e8953
parentdd5fd28346863006668d3a04957f7b066f3b8b2a
Split out eval_multi_subscript

This splits MULTI_SUBSCRIPT into a new function for future use.

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

* eval.c (eval_multi_subscript): New function.
(evaluate_subexp_standard): Use it.
gdb/ChangeLog
gdb/eval.c