From owner-cvs-all@FreeBSD.ORG Mon Nov 22 19:09:03 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 586FC16A4CE; Mon, 22 Nov 2004 19:09:03 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C9D043D2D; Mon, 22 Nov 2004 19:09:03 +0000 (GMT) (envelope-from kan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iAMJ936L067539; Mon, 22 Nov 2004 19:09:03 GMT (envelope-from kan@repoman.freebsd.org) Received: (from kan@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iAMJ93p1067535; Mon, 22 Nov 2004 19:09:03 GMT (envelope-from kan) Message-Id: <200411221909.iAMJ93p1067535@repoman.freebsd.org> From: Alexander Kabaev Date: Mon, 22 Nov 2004 19:09:02 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Subject: cvs commit: src/gnu/usr.bin/binutils/gdb freebsd-uthread.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 19:09:03 -0000 kan 2004-11-22 19:09:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_4) gnu/usr.bin/binutils/gdb freebsd-uthread.c Log: Make the life of those who is stuck debugging multithreaded programs on 4.x little easier. Teach gdb how to look for thread info in core files. This allows for more detailed post-mortem analysis of crashed programs as users should now be able to use standard gdb commands to list all threads running in the program at the time of the crash and switch between them to look at their backtraces and inspect their frames. Allow gdb to cleanly detach multithreaded programs. Tested by: jhb Approved by: obrien Revision Changes Path 1.3.2.5 +142 -6 src/gnu/usr.bin/binutils/gdb/freebsd-uthread.c