Split out eval_op_predec
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)
commit9e1361b760285542dd3826e1425261ea277ea10c
tree8030c5dad5f5363793c6789f3b6b59266521ef0e
parent00f508843cfbe5bd809256e786ff3d6a530bef0b
Split out eval_op_predec

This splits UNOP_PREDECREMENT into a new function for future use.

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

* eval.c (eval_op_predec): New file.
(evaluate_subexp_standard): Use it.
gdb/ChangeLog
gdb/eval.c