Skip to main content
You need debug symbols to parse coredumps. By design, Yocto Project compiles a package and splits it into several packages. For example, if the hello_0.1.bb file compiles the hello.cpp file, it generates several packages. The following table lists the packages that are relevant to the coredump. Table: Packages required for parsing coredumps According to Yocto Project standards, the build location path tmp/deploy/rpm/armv8-2a stores the debug symbols. For example, tqftpserv-dbg_0.0+0+de42697a24-r0_armv8-2a.rpm package includes the debug symbols for the /usr/bin/tqftpserv directory. To push the debug symbols to the device, do the following using SSH:
  1. Remount the rootfs.
  2. Using the scp command, push the debug symbols (tqftpserv-dbg_0.0+0+de42697a24-r0_armv8-2a.rpm) to the device at any available partition such as /data/.
  3. Install debug symbols on the device.
    After you push the debug symbols to the device, the system saves the symbols at the path of the executable directory in the .debug directory. For example, if the executable is in the /usr/bin/tqftpserv directory, then the system saves the debug symbols in the /usr/bin/.debug directory.
  4. To identify the debug symbols that are available on the device, run the following commands:
Sample output: