Is it possible to have a BIN file downloaded into flash as part of the debug process via gdb/OpenOCD, but then load the elf file subsequently via gdb?
Also, where can I find what version of gdb is used when “GDB Server” is selected as the debugger?
What arguments are sent to gdb and can these be inspected or changed?
I have a custom target device (not supported by SES) however, using an external toolchain, I can compile and link as well as correctly launch OpenOCD however when it comes to debugging, downloading and ELF file is not supported (only binary) but I can manually load an ELF file via gdb (outside of SES) and step through the code.
I hope that makes sense…
Also, after an executable is successfully built, SES shows the amount of used/free flash and ram statistics graphically - how is this information derived? Is it from the memory map xml file?
Also, where can I find what version of gdb is used when “GDB Server” is selected as the debugger?
What arguments are sent to gdb and can these be inspected or changed?
I have a custom target device (not supported by SES) however, using an external toolchain, I can compile and link as well as correctly launch OpenOCD however when it comes to debugging, downloading and ELF file is not supported (only binary) but I can manually load an ELF file via gdb (outside of SES) and step through the code.
I hope that makes sense…
Also, after an executable is successfully built, SES shows the amount of used/free flash and ram statistics graphically - how is this information derived? Is it from the memory map xml file?
The post was edited 1 time, last by k3vlar ().