aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-linux-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mips-linux-nat.c')
-rw-r--r--gdb/mips-linux-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c
index 3683107..beb0ea0 100644
--- a/gdb/mips-linux-nat.c
+++ b/gdb/mips-linux-nat.c
@@ -270,7 +270,7 @@ mips_linux_nat_target::mips64_regsets_fetch_registers
else
is_dsp = 0;
- tid = get_ptrace_pid (regcache_get_ptid (regcache));
+ tid = get_ptrace_pid (regcache->ptid ());
if (regno == -1 || (!is_fp && !is_dsp))
{
@@ -357,7 +357,7 @@ mips_linux_nat_target::mips64_regsets_store_registers
else
is_dsp = 0;
- tid = get_ptrace_pid (regcache_get_ptid (regcache));
+ tid = get_ptrace_pid (regcache->ptid ());
if (regno == -1 || (!is_fp && !is_dsp))
{