diff options
Diffstat (limited to 'gdb/hppa-nbsd-nat.c')
-rw-r--r-- | gdb/hppa-nbsd-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hppa-nbsd-nat.c b/gdb/hppa-nbsd-nat.c index 40a08b7..2a11490 100644 --- a/gdb/hppa-nbsd-nat.c +++ b/gdb/hppa-nbsd-nat.c @@ -170,7 +170,7 @@ void hppa_nbsd_nat_target::fetch_registers (struct regcache *regcache, int regnum) { - pid_t pid = ptid_get_pid (regcache->ptid ()); + pid_t pid = regcache->ptid ().pid (); if (regnum == -1 || hppanbsd_gregset_supplies_p (regnum)) { @@ -199,7 +199,7 @@ hppa_nbsd_nat_target::fetch_registers (struct regcache *regcache, int regnum) void hppa_nbsd_nat_target::store_registers (struct regcache *regcache, int regnum) { - pid_t pid = ptid_get_pid (regcache->ptid ()); + pid_t pid = regcache->ptid ().pid (); if (regnum == -1 || hppanbsd_gregset_supplies_p (regnum)) { |