gdb, ada: update ada_lookup_simple_minsym
authorMarkus Metzger <markus.t.metzger@intel.com>
Tue, 12 Apr 2022 14:05:26 +0000 (16:05 +0200)
committerMarkus Metzger <markus.t.metzger@intel.com>
Tue, 18 Oct 2022 12:16:09 +0000 (14:16 +0200)
commit06a670e280f39b0dd7fe0b0e0e21efa488c2729f
tree002af711983d336deab3de96b86261595aff6679
parent4326580d4459f82429340f3a96a459178b9eed93
gdb, ada: update ada_lookup_simple_minsym

Iterate over objfile in search order using the objfile of the context
block as current_objfile so the iteration can stay inside the block's
linker namespace.
gdb/ada-exp.y
gdb/ada-lang.c
gdb/ada-lang.h