Debugging executable in remote embedded linux device
I am working on an embedded device and my build system is buildroot. I have a lot of problems with memory allocation/deallocation, therefore I have a lot of crashes at the moment. How I work is that, I build my code in my server in buildroot and I do scp to my target device where the executable is run. I was wondering if there is a way to see more readable stack trace when I have crash? I tried gdb but not so much luck.
Do you have gdbserver installed on your device ?