Remove add_symbols_from_enclosing_procs
authorTom Tromey <tromey@adacore.com>
Thu, 1 Jul 2021 14:20:49 +0000 (08:20 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 2 Aug 2021 16:11:22 +0000 (10:11 -0600)
commitcd4583499fda437680e974b2729a2873a08f656b
tree62d4c266aedffc9457b5289a1d2897e50a0751d6
parent4d0754c5f572b01cf2fe6c8ab292adba83331cbc
Remove add_symbols_from_enclosing_procs

I noticed that add_symbols_from_enclosing_procs is empty, and can be
removed.  The one caller, ada_add_local_symbols, can also be
simplified, removing some code that, I think, was an incorrect attempt
to handle nested functions.
gdb/ada-lang.c