aboutsummaryrefslogtreecommitdiff
path: root/gdb/corelow.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/corelow.c')
-rw-r--r--gdb/corelow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/corelow.c b/gdb/corelow.c
index ff0526d..153afd8 100644
--- a/gdb/corelow.c
+++ b/gdb/corelow.c
@@ -1005,7 +1005,7 @@ core_target::pid_to_str (ptid_t ptid)
"process", with normal_pid_to_str. */
/* Try the LWPID field first. */
- pid = ptid_get_lwp (ptid);
+ pid = ptid.lwp ();
if (pid != 0)
return normal_pid_to_str (ptid_t (pid));