ik wrote:

Hello,

I'm trying to use gdbserver as follows:
$ gdbserver 192.168.0.202:2222 <http://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 <http://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: [email protected]

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."

_______________________________________________
Linux-il mailing list
[email protected]
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to