User and Reference Guide

  • 2020
  • 07/29/2020
  • Public Content
Contents

Unable to Load Symbols from the .elf Binary File

Cause
The
.elf
file does not contain debug symbols.
Solution
First, you should analyze the
.elf
file to determine if the suggested cause is true in your case. To do analyze the file, you can use the
readelf
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
    .debug_str
    and
    .debug_info
    sections are present.
  2. Dump the
    .debug_str
    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>
Important
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
.elf
file, refer to the documentation for your toolchain and find how to enable debug symbols.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804