gdb/ChangeLog:
* inf-ptrace.c (inf_ptrace_follow_fork): Adjust now that
inferior_thread is a function.
+2015-01-11 Mark Kettenis <kettenis@gnu.org>
+
+ * inf-ptrace.c (inf_ptrace_follow_fork): Adjust now that
+ inferior_thread is a function.
+
2015-01-11 Doug Evans <xdje42@gmail.com>
* symtab.c (eq_symbol_entry): Use SYMBOL_SEARCH_NAME and
{
if (!follow_child)
{
- pid_t child_pid = inferior_thread->pending_follow.value.related_pid;
+ struct thread_info *tp = inferior_thread ();
+ pid_t child_pid = ptid_get_pid (tp->pending_follow.value.related_pid);
/* Breakpoints have already been detached from the child by
infrun.c. */