/* Native-dependent code for GNU/Linux m32r.
- Copyright (C) 2004-2018 Free Software Foundation, Inc.
+ Copyright (C) 2004-2020 Free Software Foundation, Inc.
This file is part of GDB.
continue;
if (i != M32R_SP_REGNUM)
- regcache_raw_collect (regcache, i, regp + regmap[i]);
+ regcache->raw_collect (i, regp + regmap[i]);
else if (psw & 0x8000)
- regcache_raw_collect (regcache, i, regp + SPU_REGMAP);
+ regcache->raw_collect (i, regp + SPU_REGMAP);
else
- regcache_raw_collect (regcache, i, regp + SPI_REGMAP);
+ regcache->raw_collect (i, regp + SPI_REGMAP);
}
}
_("Got request to store bad register number %d."), regno);
}
+void _initialize_m32r_linux_nat ();
void
-_initialize_m32r_linux_nat (void)
+_initialize_m32r_linux_nat ()
{
/* Register the target. */
linux_target = &the_m32r_linux_nat_target;