Hi
how can I debug mulitple (at least) two ELF files?
Means, I want to download the ELF files from two projects, where one is the main project and the other contains also code which is called (fixed addresses) by the first.
I thought "launch group" would be an option, but the manual does not explain its use and if I try, only one ELF will be loaded.
Solved! Go to Solution.
"load" alone did not work.
I had to add my side-loaded file to "Other Symbols" tab, else all breakpoints are invalid when loading main file. Then the commands in "Startup" -> "Run commands" had to be
load "<path to file>"
set $pc = <start of main file>
else the pc was wrong.
*empty*
Yes, you can debug multiple binaries. Just add the extra symbols to the actual debug session.
It works that way for any gdb based debugger, including the NXP MCUXpresso IDE.
I hope this helps,
Erich
It's about two ELF files. Both need to be loaded at the same time to SDRAM.
you can use the gdb 'load' command to load multiple files
"load" alone did not work.
I had to add my side-loaded file to "Other Symbols" tab, else all breakpoints are invalid when loading main file. Then the commands in "Startup" -> "Run commands" had to be
load "<path to file>"
set $pc = <start of main file>
else the pc was wrong.
Ok, will give it a try.
AFAIK, this is not possible. A debugger instance can only handle a single image (symbol table). A debugger instance being a debugger connected to a single processor core.
You may be able to achieve something by linking together the two applications into a single application (AXF) with a single symbol table.
I do not want to debug multiple core, but load two files. Building a single ELF file it not really an option, as the two ELF files are separately certified.