Date: Mon, 12 Dec 2016 14:57:11 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 212607] devel/gdb: debugging threaded process broken Message-ID: <bug-212607-13-YoP7ZlUgau@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-212607-13@https.bugs.freebsd.org/bugzilla/> References: <bug-212607-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212607 --- Comment #6 from misc-freebsd-bugzilla@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 =3D (ptid_t *) data; /* don't resume an exited thread */ if (tp->state =3D=3D 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212607-13-YoP7ZlUgau>