aboutsummaryrefslogtreecommitdiff
path: root/gdb/printcmd.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-04-17 19:47:22 -0600
committerTom Tromey <tom@tromey.com>2022-04-20 09:28:17 -0600
commitbcd6845e2b66adb58d36eb1d9b8fbf71900b517d (patch)
tree0a1a9529971507e4f7430eebb5938da0e00ec5cc /gdb/printcmd.c
parente19b2d94653dd4a7523a9e9b62020a63dac39439 (diff)
downloadgdb-bcd6845e2b66adb58d36eb1d9b8fbf71900b517d.zip
gdb-bcd6845e2b66adb58d36eb1d9b8fbf71900b517d.tar.gz
gdb-bcd6845e2b66adb58d36eb1d9b8fbf71900b517d.tar.bz2
Replace symbol_arch with symbol::arch
This turns symbol_arch into a method on symbol.
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r--gdb/printcmd.c2
1 files changed, 1 insertions, 1 deletions
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)
{