Replace symbol_arch with symbol::arch

This turns symbol_arch into a method on symbol.
This commit is contained in:
Tom Tromey 2022-04-17 19:47:22 -06:00
parent e19b2d9465
commit bcd6845e2b
7 changed files with 13 additions and 13 deletions

View file

@ -1684,7 +1684,7 @@ info_address_command (const char *exp, int from_tty)
section = sym->obj_section (sym->objfile ());
else
section = NULL;
gdbarch = symbol_arch (sym);
gdbarch = sym->arch ();
if (SYMBOL_COMPUTED_OPS (sym) != NULL)
{