X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gdb%2Fhppa-nbsd-nat.c;h=2e365d3fddb45750ac746881438007561d15e48f;hb=16d01f9cd49f553a958a69ad3c9f781ebd402da8;hp=40a08b79870a4bd8c2b55ec46402c0a3727f5eea;hpb=34a79281e4bd5d1a7f1d22a5a5be1ac2db56a3fc;p=external%2Fbinutils.git diff --git a/gdb/hppa-nbsd-nat.c b/gdb/hppa-nbsd-nat.c index 40a08b7..2e365d3 100644 --- a/gdb/hppa-nbsd-nat.c +++ b/gdb/hppa-nbsd-nat.c @@ -1,6 +1,6 @@ /* Native-dependent code for NetBSD/hppa. - Copyright (C) 2008-2018 Free Software Foundation, Inc. + Copyright (C) 2008-2019 Free Software Foundation, Inc. This file is part of GDB. @@ -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)) {