From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17466 invoked by alias); 25 Apr 2003 15:50:54 -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 17436 invoked from network); 25 Apr 2003 15:50:53 -0000 Received: from unknown (HELO mail.uh.edu) (129.7.69.101) by sources.redhat.com with SMTP; 25 Apr 2003 15:50:53 -0000 Received: from conversion-daemon by mail.uh.edu (Sun Internet Mail Server sims.4.0.2001.07.26.11.50.p9) id <0HDW00701PCLQP@mail.uh.edu> for gdb@sources.redhat.com; Fri, 25 Apr 2003 10:50:46 -0500 (CDT) Received: from localhost (Colorado.Mail.UH.EDU [129.7.69.103]) by mail.uh.edu (Sun Internet Mail Server sims.4.0.2001.07.26.11.50.p9) with ESMTP id <0HDW0073TPCKHX@mail.uh.edu>; Fri, 25 Apr 2003 10:50:44 -0500 (CDT) Date: Fri, 25 Apr 2003 15:50:00 -0000 From: Magdalena.Iovescu@mail.uh.edu Subject: Re: Remote debuggind with gdb 5.3 To: Daniel Jacobowitz Cc: gdb@sources.redhat.com Message-id: <482063800.1051285844584.JavaMail.root@localhost> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT X-SW-Source: 2003-04/txt/msg00314.txt.bz2 How do I make sure of that? Just by building my own filesystem? I tried to copy the library files fom my host to the target file system, and the system crashes. When I try to bring it up again, I get this: VFS: Mounted root (nfs filesystem). Freeing init memory: 76K init: error while loading shared libraries: cannot open shared object file: cannot load shared object file: No such file or directory Kernel panic: Attempted to kill init! Regards, Magdalena >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 >