User and Reference Guide

  • 2021.1
  • 12/04/2020
  • Public Content

Unable to Load Symbols from the .elf Binary File

file does not contain debug symbols.
First, you should analyze the
file to determine if the suggested cause is true in your case. To do analyze the file, you can use the
tool, which is a part of GNU* development utilities:
  1. Check the individual file information by running the following command:
    readelf -a <filename>
    In the command output, check if the
    sections are present.
  2. Dump the
    header and identify the memory address of the function you want to debug by running the following command:
    readelf --string-dump=.debug_str <elf_file>
: Make sure the system instruction pointer refers to the same memory address as defined in the output above.
If debug symbols are indeed missing in the
file, refer to the documentation for your toolchain and find how to enable debug symbols.

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at