From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5925 invoked by alias); 13 Mar 2002 17:36:35 -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 5839 invoked from network); 13 Mar 2002 17:36:30 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 13 Mar 2002 17:36:30 -0000 Received: from cse.cygnus.com (cse.cygnus.com [205.180.230.236]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id JAA13961; Wed, 13 Mar 2002 09:36:28 -0800 (PST) Received: (from kev@localhost) by cse.cygnus.com (8.11.6/8.11.6) id g2DHaF029207; Wed, 13 Mar 2002 10:36:15 -0700 Date: Wed, 13 Mar 2002 09:36:00 -0000 From: Kevin Buettner Message-Id: <1020313173614.ZM29206@localhost.localdomain> In-Reply-To: Miah Gregory "Re: gdb/threading under arm-linux" (Mar 13, 1:11pm) References: <908b78124b.miah@picsel.com> <20020305103521.A27860@nevyn.them.org> <20020306110033.A14410@nevyn.them.org> X-Mailer: Z-Mail (4.0.1 13Jan97 Caldera) To: Miah Gregory , gdb@sources.redhat.com Subject: Re: gdb/threading under arm-linux MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-03/txt/msg00118.txt.bz2 On Mar 13, 1:11pm, Miah Gregory wrote: > Ok, I managed to build enough of libc 2.2.3 in order to get the required > libthread_db.so.1 library, and I then installed that in /lib. > > With the 20020305 snapshot, I get all the same problems. Is there a simple > way to find out whether gdb is trying to use that library? Find out the GDB's pid and then do ``cat /proc/PID/maps'' (or some such) to see which libraries are loaded and at which addresses they reside. Chances are that you'll end up needing to use gdb to debug itself to find out why the necessary library is not getting loaded, but it's certainly possible that it's being loaded, but some critical symbol is not being found by a dlsym() call. (See Daniel's suggestion.) BTW, from your glibc build, you should install both libthread_db.so.1 as well as the corresponding libpthread.so.0. If you've only installed one of them, it's possible that there's some mismatch which prevents gdb from working properly. Kevin