/* Native-dependent code for modern i386 BSD's.
- Copyright (C) 2000-2018 Free Software Foundation, Inc.
+ Copyright (C) 2000-2019 Free Software Foundation, Inc.
This file is part of GDB.
int offset = i386bsd_r_reg_offset[regnum];
if (offset != -1)
- regcache_raw_supply (regcache, regnum, regs + offset);
+ regcache->raw_supply (regnum, regs + offset);
}
}
int offset = i386bsd_r_reg_offset[i];
if (offset != -1)
- regcache_raw_collect (regcache, i, regs + offset);
+ regcache->raw_collect (i, regs + offset);
}
}
}
void
i386bsd_fetch_inferior_registers (struct regcache *regcache, int regnum)
{
- pid_t pid = get_ptrace_pid (regcache_get_ptid (regcache));
+ pid_t pid = get_ptrace_pid (regcache->ptid ());
if (regnum == -1 || GETREGS_SUPPLIES (regnum))
{
void
i386bsd_store_inferior_registers (struct regcache *regcache, int regnum)
{
- pid_t pid = get_ptrace_pid (regcache_get_ptid (regcache));
+ pid_t pid = get_ptrace_pid (regcache->ptid ());
if (regnum == -1 || GETREGS_SUPPLIES (regnum))
{