From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13983 invoked by alias); 20 Jan 2003 16:31:46 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 13966 invoked from network); 20 Jan 2003 16:31:45 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by 172.16.49.205 with SMTP; 20 Jan 2003 16:31:45 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18agij-0001EF-00; Mon, 20 Jan 2003 12:32:29 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18aeq2-0006tL-00; Mon, 20 Jan 2003 11:31:54 -0500 Date: Mon, 20 Jan 2003 16:31:00 -0000 From: Daniel Jacobowitz To: Frank van Eijkelenburg Cc: Gnu Debugger mailing list Subject: Re: unresolved symbols with libthread_db library Message-ID: <20030120163153.GA26444@nevyn.them.org> Mail-Followup-To: Frank van Eijkelenburg , Gnu Debugger mailing list References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2003-01/txt/msg00347.txt.bz2 On Mon, Jan 20, 2003 at 03:57:49PM +0100, Frank van Eijkelenburg wrote: > I'm trying to compile a simple program which uses the libthread_db library > (see code at the end). However I have some unresolved symbols. Does anyone > know what to include to resolve these symbols. Or should I implement > something myself? With this program I want to try debugging a multithreaded > program with use of gdbserver. If you want to use libthread_db, you need to provide all the hooks yourself. See GDB's proc_service.c. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer