* Re: Remote debuggind with gdb 5.3
@ 2003-04-24 20:17 Magdalena.Iovescu
2003-04-24 20:19 ` Daniel Jacobowitz
0 siblings, 1 reply; 6+ messages in thread
From: Magdalena.Iovescu @ 2003-04-24 20:17 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
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
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Remote debuggind with gdb 5.3
2003-04-24 20:17 Remote debuggind with gdb 5.3 Magdalena.Iovescu
@ 2003-04-24 20:19 ` Daniel Jacobowitz
0 siblings, 0 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2003-04-24 20:19 UTC (permalink / raw)
To: Magdalena.Iovescu; +Cc: gdb
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Remote debuggind with gdb 5.3
2003-04-25 15:50 Magdalena.Iovescu
@ 2003-04-25 15:55 ` Daniel Jacobowitz
0 siblings, 0 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2003-04-25 15:55 UTC (permalink / raw)
To: Magdalena.Iovescu; +Cc: gdb
Sorry, can't help you with that; you'll have to talk to whoever you got
this development environment from.
On Fri, Apr 25, 2003 at 10:50:44AM -0500, Magdalena.Iovescu@mail.uh.edu wrote:
> 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
> >
>
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Remote debuggind with gdb 5.3
@ 2003-04-25 15:50 Magdalena.Iovescu
2003-04-25 15:55 ` Daniel Jacobowitz
0 siblings, 1 reply; 6+ messages in thread
From: Magdalena.Iovescu @ 2003-04-25 15:50 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
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
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Remote debuggind with gdb 5.3
2003-04-24 19:16 Magdalena.Iovescu
@ 2003-04-24 19:21 ` Daniel Jacobowitz
0 siblings, 0 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2003-04-24 19:21 UTC (permalink / raw)
To: Magdalena.Iovescu; +Cc: gdb
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Remote debuggind with gdb 5.3
@ 2003-04-24 19:16 Magdalena.Iovescu
2003-04-24 19:21 ` Daniel Jacobowitz
0 siblings, 1 reply; 6+ messages in thread
From: Magdalena.Iovescu @ 2003-04-24 19:16 UTC (permalink / raw)
To: gdb
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.
Thanks in advance.
Magdalena
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-04-25 15:55 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-24 20:17 Remote debuggind with gdb 5.3 Magdalena.Iovescu
2003-04-24 20:19 ` Daniel Jacobowitz
-- strict thread matches above, loose matches on Subject: below --
2003-04-25 15:50 Magdalena.Iovescu
2003-04-25 15:55 ` Daniel Jacobowitz
2003-04-24 19:16 Magdalena.Iovescu
2003-04-24 19:21 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).