I compile a C program on my laptop and scp it to my M2K. I get a segmentation fault when I work with the iio buffers.
How can I debug the ARM compiled program with gdb?
I can now debug the program. Thanks Travis! For other readers, after changing the URI to the M2k/Pluto I ran
gcc -Wall -g testprog.c -liio