Split out fortran_require_array
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)
commit3c18c49c63f8dcdacbb33c2e8f2582789e39487b
treec32c00d429a97e535102fe832309e261ced7a9b1
parent216f6fcbefa770589def331a4bcd1d244fbaf858
Split out fortran_require_array

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

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

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