[Bug 200001] devel/gdb: gdb 7.9 crashes on certain core files

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon May 11 20:20:49 UTC 2015


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

--- Comment #6 from John Baldwin <jhb at 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.


More information about the freebsd-ports-bugs mailing list