Change get_objfile_arch to a method on objfile
[deliverable/binutils-gdb.git] / gdb / block.c
index 46c24ec96d510d01231be932ac8c9fd0288d701d..9b582433e48b8684f272d424ea2c9dbf997f0bca 100644 (file)
@@ -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.  */
This page took 0.025173 seconds and 4 git commands to generate.