From owner-cvs-all@FreeBSD.ORG Sun Aug 8 22:37:53 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 7251216A4CE; Sun, 8 Aug 2004 22:37:53 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6966543D41; Sun, 8 Aug 2004 22:37:53 +0000 (GMT) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i78MbrCK028606; Sun, 8 Aug 2004 22:37:53 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i78MbrDB028605; Sun, 8 Aug 2004 22:37:53 GMT (envelope-from davidxu) Message-Id: <200408082237.i78MbrDB028605@repoman.freebsd.org> From: David Xu Date: Sun, 8 Aug 2004 22:37:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libthread_db Makefile libpthread_db.c thread_db.c thread_db.h thread_db_int.h 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: Sun, 08 Aug 2004 22:37:53 -0000 davidxu 2004-08-08 22:37:53 UTC FreeBSD src repository Modified files: lib/libthread_db Makefile libpthread_db.c thread_db.c thread_db.h thread_db_int.h Log: 1.Use new way to check if a thread is in critical region, defer suspending if it is true. 2.Add thread_db api td_thr_tls_get_addr to get tls address, the real code is commented out util tls patch is committed. Reviewed by: deischen Revision Changes Path 1.4 +7 -1 src/lib/libthread_db/Makefile 1.4 +108 -31 src/lib/libthread_db/libpthread_db.c 1.2 +8 -0 src/lib/libthread_db/thread_db.c 1.3 +1 -0 src/lib/libthread_db/thread_db.h 1.2 +2 -0 src/lib/libthread_db/thread_db_int.h