Symbol files enable debuggers to identify program locations, function names, and display source files during code execution.
When debugging Trusted Firmware-A, how should the symbol files be loaded considering the offsets for the different Exception Levels that the BLs run at?
ATF uses absolute addresses for its symbols so we ensure an offset of 0.
You've successfully added the symbol files, but the code does not stop at the breakpoints. What could the reason be?
There could be multiple reasons. It's important to load the symbol files into the correct virtual address space and memory offset. If incorrect, the debugger won't be able to properly map the symbols to the correct locations in the code. The Execute debugger command ensures that the add-symbol-file command is actually being executed.