/* Native-dependent code for Motorola 68000 BSD's.
- Copyright (C) 2004-2017 Free Software Foundation, Inc.
+ Copyright (C) 2004-2018 Free Software Foundation, Inc.
This file is part of GDB.
static void
m68kbsd_supply_fpregset (struct regcache *regcache, const void *fpregs)
{
- struct gdbarch *gdbarch = get_regcache_arch (regcache);
+ struct gdbarch *gdbarch = regcache->arch ();
const char *regs = fpregs;
int regnum;
m68kbsd_collect_fpregset (struct regcache *regcache,
void *fpregs, int regnum)
{
- struct gdbarch *gdbarch = get_regcache_arch (regcache);
+ struct gdbarch *gdbarch = regcache->arch ();
char *regs = fpregs;
int i;