Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 May 2015 20:20:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 200001] devel/gdb: gdb 7.9 crashes on certain core files
Message-ID:  <bug-200001-13-cRXvL1e1sp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-200001-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-200001-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=200001

--- Comment #6 from John Baldwin <jhb@FreeBSD.org> ---
Created attachment 156667
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=156667&action=edit
clear_thread_list.patch

This is the workaround I've been testing.  It does fix this, but it's not clear
to me what the most correct fix for this is.  Other libthread_db targets in gdb
for Solaris and Linux just avoid attaching to core dumps entirely.  This patch
makes the FreeBSD thread target throw away the threads enumerated by the
default core dump target and re-enumerate them using the FreeBSD target
directly.

-- 
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-200001-13-cRXvL1e1sp>