Change get_objfile_arch to a method on objfile
[deliverable/binutils-gdb.git] / gdb / dtrace-probe.c
index daa5dcc1e98f1be661ad589157695686b31e0d64..c452ac9b476c5f84dfc2326d709075f25939da60 100644 (file)
@@ -520,7 +520,7 @@ dtrace_process_dof (asection *sect, struct objfile *objfile,
                    std::vector<std::unique_ptr<probe>> *probesp,
                    struct dtrace_dof_hdr *dof)
 {
-  struct gdbarch *gdbarch = get_objfile_arch (objfile);
+  struct gdbarch *gdbarch = objfile->arch ();
   struct dtrace_dof_sect *section;
   int i;
 
This page took 0.035625 seconds and 4 git commands to generate.