Jump to content

Preparing Yocto Development Environment for Debugging: Difference between revisions

Line 5: Line 5:
In order to create an appropriate development environment, Yocto allows to include useful packages and generate specific information required by the development tools.  Additionally, it is well known that for the process of debugging, it is also necessary to disable optimizations and enable debug symbols. The following is a list of additional configuration to be added to the '''build/conf/local.conf''' file. You can choose which ones to include depending on your application and desired environment.  
In order to create an appropriate development environment, Yocto allows to include useful packages and generate specific information required by the development tools.  Additionally, it is well known that for the process of debugging, it is also necessary to disable optimizations and enable debug symbols. The following is a list of additional configuration to be added to the '''build/conf/local.conf''' file. You can choose which ones to include depending on your application and desired environment.  


<syntaxhighlight lang=make>
<syntaxhighlight lang=bash>
EXTRA_IMAGE_FEATURES += "\
EXTRA_IMAGE_FEATURES += "\
       dbg-pkgs \      # adds -dbg packages for all installed packages and symbol information for debugging and profiling.
       dbg-pkgs \      # adds -dbg packages for all installed packages and symbol information for debugging and profiling.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.