Split out eval_op_f_kind
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)
commit216f6fcbefa770589def331a4bcd1d244fbaf858
tree76c28baec75743bb1f623380dcdfd009f0d255fe
parent00f2db6f7d52b718d5436e76184c92006713f531
Split out eval_op_f_kind

This splits UNOP_FORTRAN_KIND into a new function for future use.

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

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