remote debugging using gdbserver

remote debugging using gdbserver

ik idokan at gmail.com
Thu Dec 17 10:16:44 IST 2009


The server runs on an ARM machine, and the client on my own machine.
They both have gdb v7

Thanks,
Ido

http://ik.homelinux.org/


On Thu, Dec 17, 2009 at 9:31 AM, Gilad Ben-Yossef <gilad at codefidence.com>wrote:

>  ik wrote:
>
> Hello,
>
> I'm trying to use gdbserver as follows:
> $ gdbserver 192.168.0.202:2222 ./hello
>
> When I try to debug the program "hello" using a gdb located on a different
> machine as follows:
>
> gdb $ target remote 192.168.0.202:2222
>
> The gdb server hangsup.
>
> What am I missing/doing wrong here ?
>
>
> What are the machines in question running? is it the exact same software?
>
> If not, you need to tell GDB where to find the shared libraries with debug
> information of your remote host.
>
> Gilad
>
>
> --
> Gilad Ben-Yossef
> Chief Coffee Drinker & CTO
> Codefidence Ltd.
>
> Web:   http://codefidence.com
> Cell:  +972-52-8260388
> Skype: gilad_codefidence
> Tel:   +972-8-9316883 ext. 201
> Fax:   +972-8-9316884
> Email: gilad at codefidence.com
>
> Check out our Open Source technology and training blog - http://tuxology.net
>
> 	"That is not dead which can eternal lie.
> 	 And with strange aeons even death may die."
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20091217/b9589903/attachment.html>


More information about the Linux-il mailing list