Split out some Ada type resolution code
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:32 +0000 (07:28 -0700)
commitcd9a314824b2b87207a8ba7a8003639989d2406b
tree8cf783cf73fec36e1d9fb62bca1c9c51395df36a
parentcf12b17fd05811e08235fd4aaca5306bd78c7527
Split out some Ada type resolution code

This splits some Ada type resolution code out of resolve_subexp into
new functions that can be reused.

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

* ada-lang.h (ada_find_operator_symbol, ada_resolve_funcall)
(ada_resolve_variable): Declare.
* ada-lang.c (ada_find_operator_symbol, ada_resolve_funcall)
(ada_resolve_variable): New functions.
(resolve_subexp): Update.
gdb/ChangeLog
gdb/ada-lang.c
gdb/ada-lang.h