gdbarch-selftests.c: No longer error out if debugging something
[deliverable/binutils-gdb.git] / gdb / hppa-obsd-nat.c
index eb056e37fd38f2faa7c0f168c7cca170e8a88c23..8c79c0043d18ed2597441686bc79fa443c4a38c7 100644 (file)
@@ -1,6 +1,6 @@
 /* Native-dependent code for OpenBSD/hppa.
 
-   Copyright (C) 2004-2018 Free Software Foundation, Inc.
+   Copyright (C) 2004-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -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))
     {
This page took 0.026067 seconds and 4 git commands to generate.