This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Remote debuggind with gdb 5.3
- From: Magdalena dot Iovescu at mail dot uh dot edu
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 24 Apr 2003 15:17:00 -0500 (CDT)
- Subject: Re: Remote debuggind with gdb 5.3
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 dot Iovescu at mail dot uh dot 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 at 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
>