From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5508 invoked by alias); 4 Oct 2004 17:37:38 -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 5501 invoked from network); 4 Oct 2004 17:37:37 -0000 Received: from unknown (HELO sire.mail.pas.earthlink.net) (207.217.120.182) by sourceware.org with SMTP; 4 Oct 2004 17:37:37 -0000 Received: from ip216-26-76-19.dsl.du.teleport.com ([216.26.76.19] helo=stray.canids) by sire.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1CEWmG-0003cs-00 for gdb@sources.redhat.com; Mon, 04 Oct 2004 10:37:36 -0700 Received: from stray.canids (localhost.localdomain [127.0.0.1]) by stray.canids (Postfix) with ESMTP id 1EA97502AB6 for ; Mon, 4 Oct 2004 10:37:36 -0700 (PDT) From: Felix Lee To: gdb list Subject: gdbserver, sysroot, prelink Date: Mon, 04 Oct 2004 17:51:00 -0000 Message-Id: <20041004173736.1EA97502AB6@stray.canids> X-SW-Source: 2004-10/txt/msg00050.txt.bz2 if you use gdbserver to debug a program on a remote Fedora Core 2 machine, then you need to set solib-absolute-prefix to a copy of the shared libraries from that specific machine. you can't use generic FC2 shared libraries, because 'prelink' in nightly cron does arbitrary relocation of shared libraries on each machine. this probably affects any system that uses prelink; I haven't tried any other than FC2. I don't think there's anything that needs fixing. just pointing out that configuring --with-sysroot is basically useless for any system that uses prelink. --