Split out eval_op_string
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:27:58 +0000 (07:27 -0700)
commit14a1c64a139777db0c20c1017e5fecdf3b3db5ac
treed03c364f02d11e6737c7aab7f921b4600d91bd97
parentffff730bf6a939490b5e93a323ba2e4026d27818
Split out eval_op_string

This splits OP_STRING into a new function for future use.

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

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