Split out eval_op_f_allocated
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:07 +0000 (07:28 -0700)
commit9cbd1c2011286ac8982f9d606390d3359f78f9c8
tree44a54650d8b23a16adfcf2d4a3c379f15c8efa8e
parent3c18c49c63f8dcdacbb33c2e8f2582789e39487b
Split out eval_op_f_allocated

This splits out a helper function, eval_op_f_allocated, that will be
used in a later patch.

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

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