diff options
author | Tom Tromey <tom@tromey.com> | 2022-04-17 19:47:22 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-04-20 09:28:17 -0600 |
commit | bcd6845e2b66adb58d36eb1d9b8fbf71900b517d (patch) | |
tree | 0a1a9529971507e4f7430eebb5938da0e00ec5cc /gdb/printcmd.c | |
parent | e19b2d94653dd4a7523a9e9b62020a63dac39439 (diff) | |
download | binutils-bcd6845e2b66adb58d36eb1d9b8fbf71900b517d.zip binutils-bcd6845e2b66adb58d36eb1d9b8fbf71900b517d.tar.gz binutils-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.c | 2 |
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) { |