remote debugging using gdbserver

remote debugging using gdbserver

Gilad Ben-Yossef gilad at codefidence.com
Thu Dec 17 10:24:22 IST 2009


ik wrote:

> The server runs on an ARM machine, and the client on my own machine.
> They both have gdb v7
>
Then the procedure you wrote can never work.

You need to let gdb know where are the shared library of the ARM  (with 
debug information):

set solib-absolute-prefix /dev/null
set solib-shared-path /path/to/libs

 Then do target remote.

Also, you did compile gdb for cross debugging ARM on your host, right?

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/94356b77/attachment.html>


More information about the Linux-il mailing list