Remote Debugging on Beagle XM via Eclipse

Can Someone point me to WIKI instructions to setup remote debugging on
beagle XM via eclipse
I am running Ubuntu 11.10 on host PC with eclipse 3.7.0 and Ubuntu on
Beagle XM board

Hello,

I saw this link posted on here earlier. I haven't had a chance to try
it yet myself. I hope it helps: http://www.lvr.com/eclipse1.htm

Have a good one,

magyarm

I saw this link posted on here earlier. I haven't had a chance to try
it yet myself. I hope it helps: http://www.lvr.com/eclipse1.htm

Have a good one,

magyarm

> Can Someone point me to WIKI instructions to setup remote debugging on
> beagle XM via eclipse
> I am running Ubuntu 11.10 on host PC with eclipse 3.7.0 and Ubuntu on
> Beagle XM board

I don't have remote debugging instructions up yet on my tutorial, but in the meanwhile, see:

http://elinux.org/ECE497_Installing_the_Eclipse_IDE

Jan

Hi,

Before you can cross-debug you need to cross-compile. Do you have
cross-compiling up and running?
If not my instructions are not for the beagle-xm, but you'll get the
idea here: http://goo.gl/VPwDd

Regards,

Robert

Thanks Jan
I will take a look at this link

Can you also recommend some good book in Embedded Linux, which ia more
geared toward beagle xm

Jan

I am following http://www.embedded-linux.co.uk/tutorial/eclipse-cross-compile
I am getting this error when host connects with target - any
suggestions here

.gdbinit: No such file or directory.
Reading symbols from /home/rsachdeva/workspace1/
Interface_DISPLAY_LED_beagleboard_cpp/beagleboard_release/
Interface_DISPLAY_LED_beagleboard_cpp...done.
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
warning: Could not load shared library symbols for 5 libraries, e.g. /
usr/lib/arm-linux-gnueabi/libstdc++.so.6.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
From To Syms Read Shared Object Library
                        No /usr/lib/arm-linux-gnueabi/libstdc+
+.so.6
                        No /lib/arm-linux-gnueabi/libm.so.6
                        No /lib/arm-linux-gnueabi/libgcc_s.so.
1
                        No /lib/arm-linux-gnueabi/libc.so.6
                        No /lib/ld-linux.so.3
From To Syms Read Shared Object Library
                        No /usr/lib/arm-linux-gnueabi/libstdc+
+.so.6
                        No /lib/arm-linux-gnueabi/libm.so.6
                        No /lib/arm-linux-gnueabi/libgcc_s.so.
1
                        No /lib/arm-linux-gnueabi/libc.so.6
                        No /lib/ld-linux.so.3
From To Syms Read Shared Object Library
                        No /usr/lib/arm-linux-gnueabi/libstdc+
+.so.6
                        No /lib/arm-linux-gnueabi/libm.so.6
                        No /lib/arm-linux-gnueabi/libgcc_s.so.
1
                        No /lib/arm-linux-gnueabi/libc.so.6
                        No /lib/ld-linux.so.3
From To Syms Read Shared Object Library
                        No /usr/lib/arm-linux-gnueabi/libstdc+
+.so.6
                        No /lib/arm-linux-gnueabi/libm.so.6
                        No /lib/arm-linux-gnueabi/libgcc_s.so.
1
                        No /lib/arm-linux-gnueabi/libc.so.6
                        No /lib/ld-linux.so.3
From To Syms Read Shared Object Library
                        No /usr/lib/arm-linux-gnueabi/libstdc+
+.so.6
                        No /lib/arm-linux-gnueabi/libm.so.6
                        No /lib/arm-linux-gnueabi/libgcc_s.so.
1
                        No /lib/arm-linux-gnueabi/libc.so.6
                        No /lib/ld-linux.so.3

I think you need a .gdbinit file. That should contain a path to the shared libraries. It will most likely need to be to an unpacked copy of your rootfs.