Introduce 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:19 +0000 (07:28 -0700)
commit224d6424bab021a0a8e16f07d52f8af5e153e91f
tree8f2d47a925f9b24ea251bde9fb2801f678065ee0
parent373907ffb2db9232af14d2a7e4433f41cc1fc56c
Introduce subscript_operation

This adds class subscript_operation, which implements BINOP_SUBSCRIPT.

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

* expop.h (class subscript_operation): New.
* eval.c (eval_op_subscript): No longer static.
gdb/ChangeLog
gdb/eval.c
gdb/expop.h