Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.

gdbserver on jevois

+1 vote
Hi Jevois team,

Have you managed to run a gdbserver successfully via serial? I'm using CLion and managed to debug the host build just fine, and no trying to test and debug on platform. Managed to execute the gdbserver on /dev/ttyS0 in jevois.sh, and used arm-none-eabi-gdb to connect and I get a (No GDB symbols found error). I passed -DCMAKE_BUILD_TYPE=debug when building, and again was able to gdb with the host build.

If you happen to have done it, are there specific steps that need to be done? What would be the correct sysroot for example?

Thanks
asked Jun 9, 2017 in Programmer Questions by alsaibie (740 points)

1 Answer

+1 vote
We have not used it so far, usually we just use a USB-to-serial cable and then patch jevois.sh to run jevois-daemon in gdb native for the platform hardware (gdb is installed on the microSD). But this looks like a great idea so we will try to set this up once we are done with all the JeVois 1.1 new features.
answered Jun 13, 2017 by JeVois (46,580 points)
...