From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24170 invoked by alias); 23 Jan 2004 20:32:31 -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 24163 invoked from network); 23 Jan 2004 20:32:29 -0000 Received: from unknown (HELO smtpgw1.nintendo.com) (205.166.76.16) by sources.redhat.com with SMTP; 23 Jan 2004 20:32:29 -0000 Received: from Gateways-MTA by smtpgw1.nintendo.com with Novell_GroupWise; Fri, 23 Jan 2004 12:32:27 -0800 Message-Id: Date: Fri, 23 Jan 2004 20:32:00 -0000 From: "John Utz" To: Subject: gdbserver coredumps,what is the *right* libthread_db.so for gdbserver on a given platform? Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-SW-Source: 2004-01/txt/msg00272.txt.bz2 Hi; i am using crosstool to build a complex app on a i686-unknown-linux-gnu redhat 9 for a i486-unknown-linux-gnu redhat 7.3-ish( it's a somewhat custom build, as near as i can tell). problem i am having is that when gdbserver tries to load the symbols for for libpthread-0.9.so, it segfaults. it seems to not matter *which* libthread_db.so i stuff into my search path on the target, it can be the one from rh9, or the one that i built with crosstool, or the one that the system integrator has lying around on the server-parent box :-) i've been using gdbserver for several months now on a previous incarnation of this project with both the host and the target running redhat 7.2, so i have a pretty good idea how this works when it works properly. i *have* built a static gdbserver based on some mail from DanielJ about how to build a static libthread_db.a and the *good* news is that it *doesnt* coredump, but it does have the almost as aggravating gdb: error initializing thread_db library hope that someone can help me figure out what is broken and how to fix it. tnx! johnu