From owner-freebsd-questions@FreeBSD.ORG Fri Jun 3 10:21:58 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A584716A41C for ; Fri, 3 Jun 2005 10:21:58 +0000 (GMT) (envelope-from fandino@ng.fadesa.es) Received: from tierra2.ng.fadesa.es (tierra2.ng.fadesa.es [195.55.55.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF47C43D1F for ; Fri, 3 Jun 2005 10:21:56 +0000 (GMT) (envelope-from fandino@ng.fadesa.es) Received: from [195.55.55.163] ([195.55.55.163]) (authenticated bits=0) by tierra2.ng.fadesa.es (8.12.10/8.12.10) with ESMTP id j53ALpnZ022358 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 3 Jun 2005 12:21:51 +0200 Message-ID: <42A02F3F.1060202@ng.fadesa.es> Date: Fri, 03 Jun 2005 12:21:51 +0200 From: fandino User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050319 X-Accept-Language: gl, en, es MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: user fandino from 195.55.55.163 Subject: debugging system libraries X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fandino@ng.fadesa.es List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2005 10:21:58 -0000 Hello, I run an application which segsfaults in the libpthread library and I wonder if it could be possible enable debuging info in this libraries. By now I added "-g" to the list the global compile flags but the symbols are stripped by the installation script. how could I get system libraries with symbols? thank you. (gdb) bt #0 0x282ec31b in pthread_testcancel () from /usr/lib/libpthread.so.1 #1 0x282e4902 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 #2 0x00000000 in ?? ()