09-29-2014 10:47 AM
I add following into my .gdbinit placed near by the Eclipse project file and it works...
set breakpoint pending on
set sysroot remote:/
On debug config I set following for my PC with IP 192.168.0.60...
gdbserver 192.168.0.60:2345 --attach $(pidof lvrt)
Sometimes Labview and also Eclipse needs 3..4 tries before running 😉
Regards
10-01-2014 05:56 AM
Hi Jens,
THX for the hint! I have change the .gdbinit file to "set sysroot remote:/" and tested it........but I get always this error massage: "Signal 'SIGSEGV' received. Description: Segmentation fault." After 2 tries the red Status-LED flashed 4 times periodically.
My .so file that I want to debug is called "libmyRIO_test.so".
The crazy thing.......:
I have created another .so file for testing issues. This is called "libtest9". I have copied this .so file to /usr/local/lib, too. Together with my "libmyRIO_test.so"- file. So....if I choose the "libtest9" - file for debug now......all workes fine.
No errors occurs....and I can set breakpoints in the associated .c file which is linked in "libmyRIO_test.so"
lol