Introduce multi_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:25 +0000 (07:28 -0700)
commit821e72d77536b201b3e6b801d8f0d9c5b624ec96
treec0cfed195b7efe6137ed0e6d25e443f9657a4112
parent085734dd954dd2b3da9445dc517bfdb10f9ca117
Introduce multi_subscript_operation

This adds class multi_subscript_operation, which implements
MULTI_SUBSCRIPT.

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

* expop.h (class multi_subscript_operation): New.
* eval.c (multi_subscript_operation::evaluate): New method.
gdb/ChangeLog
gdb/eval.c
gdb/expop.h