GDB Debugging and Common Commands in Embedded Linux
1. GDB Deployment Establishing GDB Debugging Connection: 1. Start GDB on the host, and start the server gdbserver on the target board. 2. Ensure that the compiled options for the program being debugged include the -g option to add debugging information, and that the debugging programs on both the host and target board are consistent. … Read more