![]() ![]() After relocation with "add-symbol-file" command to relocate the symbol with the code offset = gd->relocaddr:.Before relocation with "symbol-file" command:.If you connect GDB on running target, you can load the debug symbols: With U-Boot relocation, symbols are more difficult to load, see doc/README.arm-relocation for details. start execution with the "continue" command.load the symbols of the binary to be debugged with commands available in next chapter:.reset with attach the target with the gdb "monitor reset halt" command:Įxecution is stopped in ROM code or at the beginning of FSBL execution.get the elf files for U-Boot = u-boot available in the build directory. ![]() Or for manual GDB connection, you need to: With OpenSTLinux, you can directly use GDB script Setup.gdb: This function needs to be adapted for your board.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |