Using SVD file in GDB for Cortex-m debugging

Published at June 12, 2021 ·  2 min read

Using SVD files during debugging session of a cortex-m microcontroller allows easy access to system registers value. The SVD file is an XML file that contains the necessary information about the register’s name and address. Using SVD, the IDE can read the value of system registers and display it during the debugging session. I will show here how to use SVD during GDB debug session. Installation Download and install the following project from PyCortexMDebug....