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

@ -2506,7 +2506,7 @@ info_scope_command (const char *args_in, int from_tty)
if (symname == NULL || *symname == '\0')
continue; /* Probably botched, certainly useless. */
gdbarch = symbol_arch (sym);
gdbarch = sym->arch ();
gdb_printf ("Symbol %s is ", symname);