Split out eval_op_preinc
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:04 +0000 (07:28 -0700)
commit00f508843cfbe5bd809256e786ff3d6a530bef0b
tree440536200c8ca40dc6c253eabb7bbaf4b2080d19
parent3aef2a07686a5cc2b359e07fd26e42ad77fffa25
Split out eval_op_preinc

This splits UNOP_PREINCREMENT into a new function for future use.

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

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