Introduce ternop_slice_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:17 +0000 (07:28 -0700)
commit1594e0bb3d35b05aa53519f08021fb15bf26f1dc
tree7af417ce67f65839738a47860b3daba576426f41
parentb50db09ff9c0a5d2220e73ddcff3a05e2e887b0e
Introduce ternop_slice_operation

This adds class ternop_slice_operation, which implements TERNOP_SLICE.

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

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