diff options
Diffstat (limited to 'gdb/gdbserver/target.c')
-rw-r--r-- | gdb/gdbserver/target.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbserver/target.c b/gdb/gdbserver/target.c index 400d458..aff316d 100644 --- a/gdb/gdbserver/target.c +++ b/gdb/gdbserver/target.c @@ -321,9 +321,9 @@ target_pid_to_str (ptid_t ptid) else if (ptid_get_tid (ptid) != 0) xsnprintf (buf, sizeof (buf), "Thread %d.0x%lx", ptid.pid (), ptid_get_tid (ptid)); - else if (ptid_get_lwp (ptid) != 0) + else if (ptid.lwp () != 0) xsnprintf (buf, sizeof (buf), "LWP %d.%ld", - ptid.pid (), ptid_get_lwp (ptid)); + ptid.pid (), ptid.lwp ()); else xsnprintf (buf, sizeof (buf), "Process %d", ptid.pid ()); |