mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
Convert block_gdbarch to method
This converts block_gdbarch to be a method. This was mostly written by script.
This commit is contained in:
@@ -197,7 +197,7 @@ cp_lookup_bare_symbol (const struct language_defn *langdef,
|
||||
if (block == NULL)
|
||||
gdbarch = target_gdbarch ();
|
||||
else
|
||||
gdbarch = block_gdbarch (block);
|
||||
gdbarch = block->gdbarch ();
|
||||
sym.symbol
|
||||
= language_lookup_primitive_type_as_symbol (langdef, gdbarch, name);
|
||||
sym.block = NULL;
|
||||
|
||||
Reference in New Issue
Block a user