From bcd6845e2b66adb58d36eb1d9b8fbf71900b517d Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 17 Apr 2022 19:47:22 -0600 Subject: Replace symbol_arch with symbol::arch This turns symbol_arch into a method on symbol. --- gdb/printcmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/printcmd.c') diff --git a/gdb/printcmd.c b/gdb/printcmd.c index 0e139e0..102058a 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -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) { -- cgit v1.1