/* 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);
return 0;
}
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_spu_nat;
-
/* Initialize SPU native target. */
void
_initialize_spu_nat (void)