diff options
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 46c24ec..9b58243 100644 --- a/gdb/block.c +++ b/gdb/block.c @@ -62,7 +62,7 @@ block_gdbarch (const struct block *block) if (BLOCK_FUNCTION (block) != NULL) return symbol_arch (BLOCK_FUNCTION (block)); - return get_objfile_arch (block_objfile (block)); + return block_objfile (block)->arch (); } /* See block.h. */ |