View | Details | Raw Unified | Return to bug 203661 | Differences between
and this patch

Collapse All | Expand All

(-)b/devel/gdb/files/fbsd-threads.c (-1 / +3 lines)
Lines 764-770 fbsd_thread_wait (struct target_ops *ops, Link Here
764
  td_thrinfo_t ti;
764
  td_thrinfo_t ti;
765
765
766
  ret = beneath->to_wait (beneath, ptid, ourstatus, options);
766
  ret = beneath->to_wait (beneath, ptid, ourstatus, options);
767
  if (GET_PID(ret) >= 0 && ourstatus->kind == TARGET_WAITKIND_STOPPED)
767
  if (GET_PID(ret) >= 0 &&
768
    ( ourstatus->kind == TARGET_WAITKIND_STOPPED ||
769
      ourstatus->kind == TARGET_WAITKIND_FORKED ) )
768
    {
770
    {
769
      lwp = get_current_lwp (GET_PID(ret));
771
      lwp = get_current_lwp (GET_PID(ret));
770
      ret = thread_from_lwp (BUILD_LWP(lwp, GET_PID(ret)),
772
      ret = thread_from_lwp (BUILD_LWP(lwp, GET_PID(ret)),

Return to bug 203661