diff options
Diffstat (limited to 'gdb/python/py-infthread.c')
-rw-r--r-- | gdb/python/py-infthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-infthread.c b/gdb/python/py-infthread.c index 19b5bfa..7e409bb 100644 --- a/gdb/python/py-infthread.c +++ b/gdb/python/py-infthread.c @@ -267,7 +267,7 @@ gdbpy_create_ptid_object (ptid_t ptid) return NULL; pid = ptid.pid (); - lwp = ptid_get_lwp (ptid); + lwp = ptid.lwp (); tid = ptid_get_tid (ptid); PyTuple_SET_ITEM (ret, 0, PyInt_FromLong (pid)); |