Jump to content

Preparing Yocto Development Environment for Debugging: Difference between revisions

(Created page with "== Description == Setting up an environment with the appropiate tools can help developers in the process of debugging and overall analyzing a system's behavior. Yocto supports...")
 
Line 7: Line 7:
<syntaxhighlight lang=make>
<syntaxhighlight lang=make>
EXTRA_IMAGE_FEATURES += "\
EXTRA_IMAGE_FEATURES += "\
       dbg-pkgs \      # adds -dbg packages for all installed packages and
       dbg-pkgs \      # adds -dbg packages for all installed packages and symbol information for debugging and profiling.
                      # symbol information for debugging and profiling.
       dev-pkgs \      # adds -dev packages for all installed packages
       dev-pkgs \      # adds -dev packages for all installed packages
       tools-sdk \      # adds development tools (gcc, make, pkgconfig, etc)   
       tools-sdk \      # adds development tools (gcc, make, pkgconfig, etc)   
       tools-debug \    # adds debugging tools like gdb and strace.
       tools-debug \    # adds debugging tools like gdb and strace.
       tools-profile \  # add profiling tools  
       tools-profile \  # add profiling tools (oprofile, exmap, lttng valgrind (x86 only))
                      # (oprofile, exmap, lttng valgrind (x86 only))
       tools-testapps \ # add useful testing tools (ts_print, aplay, arecord etc.)
       tools-testapps \ # add useful testing tools (ts_print, aplay, arecord etc.)
       debug-tweaks"    # make image for suitable of development,  
       debug-tweaks"    # make image for suitable of development, like setting an empty root password
                      # like setting an empty root password


# Making images useful for debugging.
# Making images useful for debugging.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.