[Bug 212607] devel/gdb: debugging threaded process broken

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 12 14:57:11 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212607

--- Comment #6 from misc-freebsd-bugzilla at talk2dom.com ---
(In reply to Tijl Coosemans from comment #0)
(In reply to Javier Bizcocho from comment #4)

Did you try the patch I linked to in comment #2 ?

The crux of the patch is change the top of resume_all_threads_cb() in
fbsd-nat.c to:

resume_all_threads_cb (struct thread_info *tp, void *data)
{
  ptid_t *filter = (ptid_t *) data;

  /* don't resume an exited thread */
  if (tp->state == THREAD_EXITED)
    return 0;

[existing code, starting with if() continues from here]

I'm not able to run CURRENT right now but did suffer this problem with GDB v7
on 11-RC and 11-RELEASE.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list