Embedded Software Interview – Peripheral Section: The Process of Local and Remote Debugging with GDB
To support gdb debugging, you must add the -g parameter during compilation to enable debugging information. 1. Commands related to setting breakpoints: break to set a breakpoint: break + the line number where the breakpoint is to be set. clear to clear a breakpoint: clear + the line number of the breakpoint to be cleared. … Read more