Installing GDB in yocto project

The step-by-step

  1. Change the build/conf/local.conf by adding the following lines

  2. #add the feature :-> tools-debug
    EXTRA_IMAGE_FEATURES += "debug-tweaks tools-debug"
  3. Choose an image, for example, core-image-minimal

    $compile your source code ..
    $ time bitbake core-image-minimal

Last updated