aboutsummaryrefslogtreecommitdiff
path: root/gdb/guile/scm-symbol.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/guile/scm-symbol.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/guile/scm-symbol.c')
-rw-r--r--gdb/guile/scm-symbol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/guile/scm-symbol.c b/gdb/guile/scm-symbol.c
index 48ea28f..9e89b04 100644
--- a/gdb/guile/scm-symbol.c
+++ b/gdb/guile/scm-symbol.c
@@ -115,7 +115,7 @@ syscm_get_symbol_map (struct symbol *symbol)
}
else
{
- struct gdbarch *gdbarch = symbol_arch (symbol);
+ struct gdbarch *gdbarch = symbol->arch ();
struct syscm_gdbarch_data *data
= (struct syscm_gdbarch_data *) gdbarch_data (gdbarch,
syscm_gdbarch_data_key);