Introduce string_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:16 +0000 (07:28 -0700)
commitb50db09ff9c0a5d2220e73ddcff3a05e2e887b0e
tree4838f121ae33a1850b63ed9b8f4685372ca9613b
parente6e01e16c547b21be2e3fc6b0783492aea98c427
Introduce string_operation

This adds string_operation, which implements OP_STRING for most
languages (C has its own variant).

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

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