Change get_objfile_arch to a method on objfile
[deliverable/binutils-gdb.git] / gdb / dwarf2 / frame.c
index 74488f9a8aa97b5ab05f2c0e639dd17428061537..f7276d48ce79dc339a0c915a593e163b67a70a26 100644 (file)
@@ -2147,7 +2147,7 @@ dwarf2_build_frame_info (struct objfile *objfile)
   dwarf2_cie_table cie_table;
   dwarf2_fde_table fde_table;
 
-  struct gdbarch *gdbarch = get_objfile_arch (objfile);
+  struct gdbarch *gdbarch = objfile->arch ();
 
   /* Build a minimal decoding of the DWARF2 compilation unit.  */
   std::unique_ptr<comp_unit> unit (new comp_unit (objfile));
This page took 0.024378 seconds and 4 git commands to generate.