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/block.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/block.c')
-rw-r--r-- | gdb/block.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/block.c b/gdb/block.c index 530d233..bab6868 100644 --- a/gdb/block.c +++ b/gdb/block.c @@ -60,7 +60,7 @@ struct gdbarch * block_gdbarch (const struct block *block) { if (BLOCK_FUNCTION (block) != NULL) - return symbol_arch (BLOCK_FUNCTION (block)); + return BLOCK_FUNCTION (block)->arch (); return block_objfile (block)->arch (); } |