Change get_objfile_arch to a method on objfile
[deliverable/binutils-gdb.git] / gdb / linux-fork.c
index 357188685d071f41642abc4e82cda0f12b717187..2233d4429ce0a0fd4effd912ed5d7aa1f7e60285 100644 (file)
@@ -663,7 +663,7 @@ checkpoint_command (const char *args, int from_tty)
   if (!fork_fn)
     error (_("checkpoint: can't find fork function in inferior."));
 
-  gdbarch = get_objfile_arch (fork_objf);
+  gdbarch = fork_objf->arch ();
   ret = value_from_longest (builtin_type (gdbarch)->builtin_int, 0);
 
   /* Tell linux-nat.c that we're checkpointing this inferior.  */
This page took 0.024505 seconds and 4 git commands to generate.