aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-infthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-infthread.c')
-rw-r--r--gdb/python/py-infthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-infthread.c b/gdb/python/py-infthread.c
index 9b90ad5..19b5bfa 100644
--- a/gdb/python/py-infthread.c
+++ b/gdb/python/py-infthread.c
@@ -266,7 +266,7 @@ gdbpy_create_ptid_object (ptid_t ptid)
if (!ret)
return NULL;
- pid = ptid_get_pid (ptid);
+ pid = ptid.pid ();
lwp = ptid_get_lwp (ptid);
tid = ptid_get_tid (ptid);