diff options
Diffstat (limited to 'gdb/sol-thread.c')
-rw-r--r-- | gdb/sol-thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c index 95248f2..bb73c4a 100644 --- a/gdb/sol-thread.c +++ b/gdb/sol-thread.c @@ -300,7 +300,7 @@ thread_to_lwp (ptid_t thread_id, int default_lwp) td_thrhandle_t th; td_err_e val; - if (ptid_lwp_p (thread_id)) + if (thread_id.lwp_p ()) return thread_id; /* It's already an LWP ID. */ /* It's a thread. Convert to LWP. */ |