diff options
Diffstat (limited to 'gdb/linux-fork.c')
-rw-r--r-- | gdb/linux-fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linux-fork.c b/gdb/linux-fork.c index 4b7e177..1cbaca5 100644 --- a/gdb/linux-fork.c +++ b/gdb/linux-fork.c @@ -723,7 +723,7 @@ checkpoint_command (const char *args, int from_tty) fp != NULL ? fp->num : -1, (long) retpid); if (info_verbose) { - parent_pid = ptid_get_lwp (last_target_ptid); + parent_pid = last_target_ptid.lwp (); if (parent_pid == 0) parent_pid = last_target_ptid.pid (); printf_filtered (_(" gdb says parent = %ld.\n"), |