Load of multiple ELF files

Load of multiple ELF files using the same S32Debugger debug configuration requires the following Startup tab settings:.

  1. Disable Load image.
  2. Disable Load symbols.
  3. Disable Resume.
  4. Add GDB commands to load ELF files and symbols in Run Commands> field.

    These commands should be added based on the following rules:

    • The ELF are loaded using the load commands.
    • The ELF implementing the entry point should be loaded last.
    • The first symbol file is loaded using command symbol-file and the rest are loaded using the command add-symbol-file.
    • Use the full file path.

    This is an example with two ELF files:

    • symbol "C:\\Users\\Username\\workspaceS32DS.3.5_multiple_elf\\s32s_r52_elf2_R52_0_0\\Debug_RAM\\s32s_r52_elf2_R52_0_0.elf"
    • add-symbol-file "C:\\Users\\Username\\workspaceS32DS.3.5_multiple_elf\\s32s_r52_elf1\\s32s_r52_elf1_R52_0_0\\Debug_RAM\\s32s_r52_elf1_R52_0_0.elf"
    • load "C:\\Users\Username\\workspaceS32DS.3.5_multiple_elf\\s32s_r52_elf2_R52_0_0\\Debug_RAM\\s32s_r52_elf2_R52_0_0.elf"
    • load "C:\\Users\\Username\\workspaceS32DS.3.5_multiple_elf\\s32s_r52_elf1\\s32s_r52_elf1_R52_0_0\\Debug_RAM\\s32s_r52_elf1_R52_0_0.elf"

    Load of multiple ELF files