]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Introduce language_defn::lookup_symbol_local
authorTom Tromey <tromey@adacore.com>
Thu, 23 May 2024 16:30:16 +0000 (10:30 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 14 Jun 2024 16:56:37 +0000 (10:56 -0600)
commit9c23c0df0dc47560bf3e253186e0192bc9630c80
tree4cea3ce9ced69d0bc04132df6975519929910014
parentb2cb4b4005e88bf31ced0c899527b374a9abcfca
Introduce language_defn::lookup_symbol_local

This introduces the new method language_defn::lookup_symbol_local, and
then changes lookup_symbol_local to use it.  This removes an explicit
language check from this function, and makes it easier for other
languages to hook into this code.
gdb/c-lang.c
gdb/f-lang.c
gdb/f-lang.h
gdb/language.h
gdb/symtab.c