Split out eval_op_f_modulo
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:06 +0000 (07:28 -0700)
commit93b2b5fae269c9a8e249e81d3549392c8ff70f38
tree260ff4e11e599302f0d921da179d0949c0d908af
parent9f1a1f3c4f8fd9dd7422bf246ef3d199df22eb18
Split out eval_op_f_modulo

This splits BINOP_FORTRAN_MODULO into a new function for future use.

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

* f-lang.c (eval_op_f_modulo): New function.
(evaluate_subexp_f): Use it.
gdb/ChangeLog
gdb/f-lang.c