Change get_objfile_arch to a method on objfile
[deliverable/binutils-gdb.git] / gdb / jit.c
index 8eb98f4a38af77df9b059394869a05a2c5350580..07e9ce7ae245539ab3cc08601abc34ba380bb700 100644 (file)
--- a/gdb/jit.c
+++ b/gdb/jit.c
@@ -656,7 +656,7 @@ finalize_symtab (struct gdb_symtab *stab, struct objfile *objfile)
     {
       struct block *new_block = allocate_block (&objfile->objfile_obstack);
       struct symbol *block_name = allocate_symbol (objfile);
-      struct type *block_type = arch_type (get_objfile_arch (objfile),
+      struct type *block_type = arch_type (objfile->arch (),
                                           TYPE_CODE_VOID,
                                           TARGET_CHAR_BIT,
                                           "void");
This page took 0.026091 seconds and 4 git commands to generate.