const-fy function parameter struct address_space *aspace
[deliverable/binutils-gdb.git] / gdb / spu-linux-nat.c
index 19552fc1feb9e9f7e5927b58f23f081972eee8e8..bf15a8c05ca5a6683948236e4eef80310cbab0f0 100644 (file)
@@ -504,7 +504,7 @@ spu_fetch_inferior_registers (struct target_ops *ops,
   /* The ID register holds the spufs file handle.  */
   if (regno == -1 || regno == SPU_ID_REGNUM)
     {
-      struct gdbarch *gdbarch = get_regcache_arch (regcache);
+      struct gdbarch *gdbarch = regcache->arch ();
       enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
       gdb_byte buf[4];
       store_unsigned_integer (buf, 4, byte_order, fd);
@@ -634,9 +634,6 @@ spu_can_use_hw_breakpoint (struct target_ops *self,
   return 0;
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_spu_nat;
-
 /* Initialize SPU native target.  */
 void 
 _initialize_spu_nat (void)
This page took 0.025955 seconds and 4 git commands to generate.