Split out eval_op_repeat
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:02 +0000 (07:28 -0700)
commiteed70b1c374ac4155f5d18b87a5a6a74581f2076
treed6a32e816366f74f671223cb5021cd4624f92570
parent60cdd4871ac9c9e0118cd47c7fce36cd5163404a
Split out eval_op_repeat

This splits BINOP_REPEAT into a new function for future use.

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

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