From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16558 invoked by alias); 24 Apr 2003 20:19:56 -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 16551 invoked from network); 24 Apr 2003 20:19:56 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 24 Apr 2003 20:19:56 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 198nCV-0000wt-00; Thu, 24 Apr 2003 15:20:11 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 198nCC-0001Qw-00; Thu, 24 Apr 2003 16:19:52 -0400 Date: Thu, 24 Apr 2003 20:19:00 -0000 From: Daniel Jacobowitz To: Magdalena.Iovescu@mail.uh.edu Cc: gdb@sources.redhat.com Subject: Re: Remote debuggind with gdb 5.3 Message-ID: <20030424201952.GA5493@nevyn.them.org> Mail-Followup-To: Magdalena.Iovescu@mail.uh.edu, gdb@sources.redhat.com References: <482435886.1051215420567.JavaMail.root@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <482435886.1051215420567.JavaMail.root@localhost> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-04/txt/msg00300.txt.bz2 Depends on how you work. I recommend using the exact same headers and libraries on host and target; otherwise really strange things can happen. On Thu, Apr 24, 2003 at 03:17:00PM -0500, Magdalena.Iovescu@mail.uh.edu wrote: > Thanks for answering. > I'm using an ARM filesystem from Wearable group, and that doesn't have this file anywhere. I have them though on my host, in my toolchain directory (/opt/arm-linux/arm-linux/lib). I tried copying it to the /lib on my target, but then there were other files missing. > > Is there a nicer way to get these files on the target filesystem? > > Sorry for the basic questions, I'm new at embedded Linux. > > Thanks, > > Magdalena > > >On Thu, Apr 24, 2003 at 02:16:24PM -0500, Magdalena.Iovescu@mail.uh.edu wrote: > >> Hello. > >> > >> I am trying to setup remote debugging on an ARM platform. I compiled and > >> installed gdb 5.3 on host and target side (following 'the recipe' on > >> www.kegel.com/linux/gdbserver.html). I even applied the --with-solib-absolute-prefix patch, and I still got this error after that: > >> > >> When I try to start the server on the target, I get this: > >> > >> [guest@MyHost guest]$gdbserver host:3000 hello > >> gdbserver: error in loading shared libraries: libthread_db.so.1: cannot open > >> shared object file: No such file or directory > >> > >> Any suggestions on how to solve this would be greatly appreciated. > > > >Exactly what the error message says: find libthread_db.so.1 on your > >target. You must have an ARM version on your host somewhere if you > >were able to build thread support. > > > >-- > >Daniel Jacobowitz > >MontaVista Software Debian GNU/Linux Developer > > > -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer