]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/hppa-obsd-nat.c
Remove ptid_get_pid
[thirdparty/binutils-gdb.git] / gdb / hppa-obsd-nat.c
index eb056e37fd38f2faa7c0f168c7cca170e8a88c23..9237deec1a991fc41d845048bd33070488e3dda6 100644 (file)
@@ -196,7 +196,7 @@ hppaobsd_collect_fpregset (struct regcache *regcache,
 void
 hppa_obsd_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 || hppaobsd_gregset_supplies_p (regnum))
     {