#ifdef PT_GETFPREGS
if (regnum == -1
- || getfpregs_supplies (get_regcache_arch (regcache), regnum))
+ || getfpregs_supplies (regcache->arch (), regnum))
{
struct fpreg fpregs;
#ifdef PT_GETFPREGS
if (regnum == -1
- || getfpregs_supplies (get_regcache_arch (regcache), regnum))
+ || getfpregs_supplies (regcache->arch (), regnum))
{
struct fpreg fpregs;
static int
ppcobsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
{
- struct gdbarch *gdbarch = get_regcache_arch (regcache);
+ struct gdbarch *gdbarch = regcache->arch ();
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
struct switchframe sf;
struct callframe cf;
return 1;
}
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_ppcobsd_nat (void);
void
_initialize_ppcobsd_nat (void)