From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31148 invoked by alias); 16 Mar 2006 00:53:48 -0000 Received: (qmail 31139 invoked by uid 22791); 16 Mar 2006 00:53:47 -0000 X-Spam-Check-By: sourceware.org Received: from mail.loop.com.tw (HELO loop.com.tw) (59.120.57.124) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 16 Mar 2006 00:53:46 +0000 Received: from denniswin2000 ([10.0.2.1]) by loop.com.tw (8.11.6+Sun/8.11.6) with SMTP id k2G0hUv14054; Thu, 16 Mar 2006 08:43:30 +0800 (CST) Message-ID: <066d01c64893$f5e5ac60$0102000a@loop.com.tw> From: "Nai-Hsien" To: "Daniel Jacobowitz" Cc: References: <063201c647e2$b2c39160$0102000a@loop.com.tw> <20060315034555.GA1813@nevyn.them.org> <064501c647f8$39e135c0$0102000a@loop.com.tw> <20060315142546.GC12258@nevyn.them.org> Subject: Re: Debugging a shared library through gdbserver Date: Thu, 16 Mar 2006 02:11:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2006-03/txt/msg00087.txt.bz2 > > > > # my shared library is in lib/ > > (gdb) set solib-absolute-prefix lib > > That's not what solib-absolute-prefix is for. You need to point it at > the root of a filesystem image that matches the one running on your > target, so that GDB can open /lib/ld.so.1 and > /usr/lib/libfoo.so. I usually use NFS for this. If you > do that... Unfornately, I am using TFTP to download a RAM disk image to my board and run it. Is there any other solution for the case? Thank you Dennis