diff options
Diffstat (limited to 'gdb/i386-bsd-nat.c')
-rw-r--r-- | gdb/i386-bsd-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/i386-bsd-nat.c b/gdb/i386-bsd-nat.c index f7f27ceb..cca4629 100644 --- a/gdb/i386-bsd-nat.c +++ b/gdb/i386-bsd-nat.c @@ -130,7 +130,7 @@ i386bsd_collect_gregset (const struct regcache *regcache, 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)) { @@ -193,7 +193,7 @@ i386bsd_fetch_inferior_registers (struct regcache *regcache, int 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)) { |