From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32202 invoked by alias); 4 Nov 2005 15:40:48 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 32189 invoked by uid 22791); 4 Nov 2005 15:40:44 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 04 Nov 2005 15:40:44 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1EY3gI-0001A0-HW; Fri, 04 Nov 2005 10:40:42 -0500 Date: Fri, 04 Nov 2005 15:40:00 -0000 From: Daniel Jacobowitz To: Frank Meerkoetter Cc: gdb@sourceware.org Subject: Re: multithreaded programs on arm-linux Message-ID: <20051104154042.GB4309@nevyn.them.org> Mail-Followup-To: Frank Meerkoetter , gdb@sourceware.org References: <20051103150707.GA31256@nevyn.them.org> <20051103165107.69fo0r6r2li8csws@admin.betaversion.net> <20051103155928.GA630@nevyn.them.org> <20051103172809.nzyshptn7w5cscs0@admin.betaversion.net> <20051103164212.GA2532@nevyn.them.org> <20051103185047.8o634uhdvtsg8kcc@admin.betaversion.net> <20051103211329.GB11262@nevyn.them.org> <20051104102321.ob6kfhtmx1mscoc4@admin.betaversion.net> <20051104142550.GA1842@nevyn.them.org> <20051104163930.rubgkjl3v0hwgw8o@admin.betaversion.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051104163930.rubgkjl3v0hwgw8o@admin.betaversion.net> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-11/txt/msg00107.txt.bz2 On Fri, Nov 04, 2005 at 04:39:30PM +0100, Frank Meerkoetter wrote: > Quoting Daniel Jacobowitz : > > >On Fri, Nov 04, 2005 at 10:23:21AM +0100, Frank Meerkoetter wrote: > >>Quoting Daniel Jacobowitz : > >> > >>>On Thu, Nov 03, 2005 at 06:50:47PM +0100, Frank Meerkoetter wrote: > >>>>objfile is NULL, why i couldn't figure out. > >>> > >>>That should be true the first time but not the second, if you've used > >>>"file". > >> > >>Ok. The first time objfile is null. The second time target_has_execution > >>is false. > > > >It doesn't get called after you say "run"? Is this a static executable > >you're debugging? > > It does get called. Sorry, i tested the wrong thing. > > [...] > /* Now attempt to open a connection to the thread library. */ > err = td_ta_new_p (&proc_handle, &thread_agent); > > It returns TD_NOLIBTHREAD. > > I know from stepping through thread_db_load() that > That td_ta_new_p = verbose_dlsym (handle, "td_ta_new"); > was successfull. > > verbose_dlsym() also produced now warning that it couldn't > find a certain symbol. > > td_ta_new seems to fail. > I've downloaded the linuxThreads source but can't find any > references to "td_ta_new". It's in libthread_db, which is linuxthreads_db/ in the LinuxThreads source. It sounds like your libpthread.so has been stripped of some required symbols. -- Daniel Jacobowitz CodeSourcery, LLC