aboutsummaryrefslogtreecommitdiff
path: root/gdb/proc-service.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/proc-service.c')
-rw-r--r--gdb/proc-service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/proc-service.c b/gdb/proc-service.c
index 393cd90..8340f95 100644
--- a/gdb/proc-service.c
+++ b/gdb/proc-service.c
@@ -204,7 +204,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