diff options
Diffstat (limited to 'gdb/fork-child.c')
-rw-r--r-- | gdb/fork-child.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/fork-child.c b/gdb/fork-child.c index e1719a0..1de96b6 100644 --- a/gdb/fork-child.c +++ b/gdb/fork-child.c @@ -88,7 +88,7 @@ postfork_hook (pid_t pid) inferior_appeared (inf, pid); /* Needed for wait_for_inferior stuff. */ - inferior_ptid = pid_to_ptid (pid); + inferior_ptid = ptid_t (pid); gdb_assert (saved_ui != NULL); current_ui = saved_ui; |