X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fproc-service.c;h=b0741318adcb02a2c4ade81c4096ad304338cb13;hb=3cb5a3a16af2cae1a5059b7571c514b3fa575df9;hp=393cd909277fd46c5ee7a78d5c6d2243ff3a2080;hpb=4c4e7ad46ed77f552e2624d2f711c0ce51714395;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/proc-service.c b/gdb/proc-service.c index 393cd90927..b0741318ad 100644 --- a/gdb/proc-service.c +++ b/gdb/proc-service.c @@ -1,6 +1,6 @@ /* implementation. - Copyright (C) 1999-2018 Free Software Foundation, Inc. + Copyright (C) 1999-2019 Free Software Foundation, Inc. This file is part of GDB. @@ -173,7 +173,8 @@ ps_lsetregs (struct ps_prochandle *ph, lwpid_t lwpid, const prgregset_t gregset) process PH and store them in FPREGSET. */ ps_err_e -ps_lgetfpregs (struct ps_prochandle *ph, lwpid_t lwpid, gdb_prfpregset_t *fpregset) +ps_lgetfpregs (struct ps_prochandle *ph, lwpid_t lwpid, + prfpregset_t *fpregset) { struct regcache *regcache = get_ps_regcache (ph, lwpid); @@ -188,7 +189,7 @@ ps_lgetfpregs (struct ps_prochandle *ph, lwpid_t lwpid, gdb_prfpregset_t *fpregs ps_err_e ps_lsetfpregs (struct ps_prochandle *ph, lwpid_t lwpid, - const gdb_prfpregset_t *fpregset) + const prfpregset_t *fpregset) { struct regcache *regcache = get_ps_regcache (ph, lwpid); @@ -204,7 +205,7 @@ ps_lsetfpregs (struct ps_prochandle *ph, lwpid_t lwpid, pid_t ps_getpid (struct ps_prochandle *ph) { - return ptid_get_pid (ph->thread->ptid); + return ph->thread->ptid.pid (); } void