Embedded Software Interview – Peripheral Section: The Process of Local and Remote Debugging with GDB

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

Linux | Porting i.MX6ULL Gdb+Gdbserver Debugging (Chapter 14)

Linux | Porting i.MX6ULL Gdb+Gdbserver Debugging (Chapter 14)

01 Many friends are transitioning from microcontrollers, where they are accustomed to using JLINK for debugging programs, and find it quite unfamiliar to switch to Linux.Indeed, it would be great if we could set breakpoints, perform single-step debugging, and inspect variables on Linux. Next, I will teach you how to debug application code on an … Read more

A Step-by-Step Guide to Debugging ARM Programs Using VSCode, gdb, and gdbserver

A Step-by-Step Guide to Debugging ARM Programs Using VSCode, gdb, and gdbserver

Click on the above “Embedded Miscellany” to select “Top Public Account” to view embedded notes at the first time! In embedded software development, the most commonly used debugging methods are: log printing debugging and online debugging. Related articles on log printing debugging: Can’t solve the bug? Use the logging method. When developing STM32, we have … Read more